🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix ci-goreleaser
Deluan669f293f1f83
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex b59da65c2..997e6eb52 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -115,7 +115,7 @@ jobs:- name: Run GoReleaser - SNAPSHOTif: startsWith(github.ref, 'refs/tags/') != true- uses: docker://deluan/ci-goreleaser:1.14.9-2+ uses: docker://deluan/ci-goreleaser:1.14.9-3env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:@@ -123,7 +123,7 @@ jobs:- name: Run GoReleaser - RELEASEif: startsWith(github.ref, 'refs/tags/')- uses: docker://deluan/ci-goreleaser:1.14.9-2+ uses: docker://deluan/ci-goreleaser:1.14.9-3env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:diff --git a/.goreleaser.yml b/.goreleaser.ymlindex f74f9b881..ad725cb19 100644--- a/.goreleaser.yml+++ b/.goreleaser.yml@@ -7,21 +7,6 @@ before:- go-bindata -fs -prefix ui/build -tags embed -nocompress -pkg assets -o assets/embedded_gen.go ui/build/...builds:- - id: navidrome_darwin- env:- - CGO_ENABLED=1- - CC=o64-clang- - CXX=o64-clang++- - PKG_CONFIG_PATH=/darwin/lib/pkgconfig- goos:- - darwin- goarch:- - amd64- flags:- - -tags=embed- ldflags:- - -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}-- id: navidrome_linux_amd64env:- CGO_ENABLED=1@@ -114,6 +99,21 @@ builds:- "-extldflags '-static'"- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}+ - id: navidrome_darwin+ env:+ - CGO_ENABLED=1+ - CC=o64-clang+ - CXX=o64-clang+++ - PKG_CONFIG_PATH=/darwin/lib/pkgconfig+ goos:+ - darwin+ goarch:+ - amd64+ flags:+ - -tags=embed+ ldflags:+ - -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}+archives:- format_overrides:- goos: windowsdiff --git a/Makefile b/Makefileindex e781c06c4..afec28da2 100644--- a/Makefile+++ b/Makefile@@ -96,5 +96,5 @@ release:.PHONY: releasesnapshot:- docker run -it -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:1.14.9-2 goreleaser release --rm-dist --skip-publish --snapshot+ docker run -it -v $(PWD):/workspace -w /workspace deluan/ci-goreleaser:1.14.9-3 goreleaser release --rm-dist --skip-publish --snapshot.PHONY: snapshot