From e0bcfe4878182452b94c2750f3476083ffe513da Mon Sep 17 00:00:00 2001 From: Matthew Phelps <146899553+kerneldraft@users.noreply.github.com> Date: Wed, 18 Mar 2026 23:06:29 +1100 Subject: [PATCH] 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. --- .github/workflows/docker-build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 0c1f8ca7b..72e992d43 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -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