From b929e16f2c4f71ebe43b4ac77ce1e1e909fd3215 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Thu, 13 Jan 2022 21:49:56 +0000 Subject: [PATCH] build: apply cssVersion for all ldflags --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2870e83..0bad28f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -65,7 +65,7 @@ builds: flags: - -tags=tray 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: - windows goarch: @@ -77,7 +77,7 @@ builds: flags: - -tags=tray 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: - linux goarch: