Fetch upstream tag before applying Docker build fix

Added a step to fetch and checkout the upstream tag v3.1.0.4875 before applying the fix.
This commit is contained in:
Matthew Phelps 2026-03-18 23:06:29 +11:00 committed by GitHub
parent c8b127936c
commit e0bcfe4878
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,9 +11,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: v3.1.0.4875
submodules: recursive
- name: Fetch upstream tag
run: |
git remote add upstream https://github.com/Lidarr/Lidarr.git
git fetch upstream refs/tags/v3.1.0.4875:refs/tags/v3.1.0.4875
git checkout v3.1.0.4875
- name: Apply fix
run: |
sed -i 's/_rootFolderService.All().Select(x => x.Path).ToList();/artists.Select(x => x.Path).ToList();/' src/NzbDrone.Core/Music/RefreshArtistService.cs