mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 21:47:36 +03:00
Strip debugging info from binaries. Closes #405
This commit is contained in:
parent
ca10e800a9
commit
1ef0869a54
1 changed files with 6 additions and 6 deletions
|
@ -19,7 +19,7 @@ builds:
|
||||||
flags:
|
flags:
|
||||||
- -tags=embed
|
- -tags=embed
|
||||||
ldflags:
|
ldflags:
|
||||||
- -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||||
|
|
||||||
- id: navidrome_linux_amd64
|
- id: navidrome_linux_amd64
|
||||||
env:
|
env:
|
||||||
|
@ -32,7 +32,7 @@ builds:
|
||||||
- -tags=embed
|
- -tags=embed
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||||
|
|
||||||
- id: navidrome_linux_arm
|
- id: navidrome_linux_arm
|
||||||
env:
|
env:
|
||||||
|
@ -50,7 +50,7 @@ builds:
|
||||||
- -tags=embed
|
- -tags=embed
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||||
|
|
||||||
- id: navidrome_linux_arm64
|
- id: navidrome_linux_arm64
|
||||||
env:
|
env:
|
||||||
|
@ -64,7 +64,7 @@ builds:
|
||||||
- -tags=embed
|
- -tags=embed
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||||
|
|
||||||
- id: navidrome_windows_i686
|
- id: navidrome_windows_i686
|
||||||
env:
|
env:
|
||||||
|
@ -79,7 +79,7 @@ builds:
|
||||||
- -tags=embed
|
- -tags=embed
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||||
|
|
||||||
- id: navidrome_windows_x64
|
- id: navidrome_windows_x64
|
||||||
env:
|
env:
|
||||||
|
@ -94,7 +94,7 @@ builds:
|
||||||
- -tags=embed
|
- -tags=embed
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format_overrides:
|
- format_overrides:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue