diff --git a/.goreleaser.yml b/.goreleaser.yml index 00eb8ead7..cdf058c1f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,7 +14,7 @@ builds: goarch: - amd64 flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - "-extldflags '-static -lz'" - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}} @@ -28,7 +28,7 @@ builds: goarch: - "386" flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - "-extldflags '-static'" - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}} @@ -48,7 +48,7 @@ builds: - "6" - "7" flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - "-extldflags '-static'" - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}} @@ -64,7 +64,7 @@ builds: goarch: - arm64 flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - "-extldflags '-static'" - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}} @@ -80,7 +80,7 @@ builds: goarch: - "386" flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - "-extldflags '-static'" - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}} @@ -96,7 +96,7 @@ builds: goarch: - amd64 flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - "-extldflags '-static'" - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}} @@ -112,7 +112,7 @@ builds: goarch: - amd64 flags: - - -tags=embed,netgo + - -tags=netgo ldflags: - -s -w -X github.com/navidrome/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/navidrome/navidrome/consts.gitTag={{.Version}}