Skip to content

🎧 Your Personal Streaming Service

fix(ci): fix linux packages upload (#3569)

Deluan Quintão851f54ea5741
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 98dd00a0b..e318993c3 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -380,14 +380,14 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: packages
- path: dist/navidrome_v*
+ path: dist/navidrome_0*
- id: set-package-list
name: Export list of generated packages
run: |
cd dist
set +x
- ITEMS=$(ls navidrome_v* | sed 's/^navidrome_v[^_]*_linux_//' | jq -R -s -c 'split("\n")[:-1]')
+ ITEMS=$(ls navidrome_0* | sed 's/^navidrome_0[^_]*_linux_//' | jq -R -s -c 'split("\n")[:-1]')
echo $ITEMS
echo "package_list=${ITEMS}" >> $GITHUB_OUTPUT
@@ -409,7 +409,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: navidrome_linux_${{ matrix.item }}
- path: dist/navidrome_v*_linux_${{ matrix.item }}
+ path: dist/navidrome_0*_linux_${{ matrix.item }}
# delete-artifacts:
# name: Delete unused artifacts
diff --git a/release/goreleaser.yml b/release/goreleaser.yml
index 59f724138..eb226b7ee 100644
--- a/release/goreleaser.yml
+++ b/release/goreleaser.yml
@@ -6,8 +6,8 @@ builds:
- id: navidrome
# Instead of compiling the binary with goreleaser, we just copy it from `binaries` folder
# This is because we need to compile the binaries with our Dockerfile, and to avoid having to
- # compile it twice, we just copy the docker build output.env. The xxgo script handles this for us
- gobinary: "./release/xxgo"
+ # compile it twice, we just copy the docker build output. The xxgo script handles this for us
+ tool: "./release/xxgo"
# All available targets compiled by the Dockerfile
targets:
@@ -31,7 +31,7 @@ checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
snapshot:
- version_template: "{{ .Tag }}-SNAPSHOT"
+ version_template: "{{ .Version }}-SNAPSHOT"
nfpms:
- id: navidrome