1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 01:20:11 +00:00

build: apply cssVersion for all ldflags

This commit is contained in:
Harvey Tindall 2022-01-13 21:49:56 +00:00
parent 1c942186aa
commit b929e16f2c
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -65,7 +65,7 @@ builds:
flags: flags:
- -tags=tray - -tags=tray
ldflags: ldflags:
- -s -w -X main.version={{.Env.JFA_GO_VERSION}} -X main.commit={{.ShortCommit}} -X main.updater=binary -H=windowsgui - -s -w -X main.version={{.Env.JFA_GO_VERSION}} -X main.commit={{.ShortCommit}} -X main.updater=binary -X main.cssVersion={{.Env.JFA_GO_CSS_VERSION}} -H=windowsgui
goos: goos:
- windows - windows
goarch: goarch:
@ -77,7 +77,7 @@ builds:
flags: flags:
- -tags=tray - -tags=tray
ldflags: ldflags:
- -s -w -X main.version={{.Env.JFA_GO_VERSION}} -X main.commit={{.ShortCommit}} -X main.updater=binary - -s -w -X main.version={{.Env.JFA_GO_VERSION}} -X main.commit={{.ShortCommit}} -X main.updater=binary -X main.cssVersion={{.Env.JFA_GO_CSS_VERSION}}
goos: goos:
- linux - linux
goarch: goarch: