Skip to content

Commit

Permalink
ci: fix build time version providing (2)
Browse files Browse the repository at this point in the history
Fix Taskfile was incorrectly configured to provide version info.
  • Loading branch information
SpaiR committed Jul 12, 2023
1 parent 761b310 commit eb0a834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ vars:
sh: git rev-parse --short HEAD
APP_NAME: StrongDMM
BIN_DST: '{{.APP_NAME}}{{exeExt}}'
BUILD_VARS: -X internal/env.Version={{.GIT_VERSION}} -X internal/env.Revision={{.GIT_REV}}
BUILD_VARS: -X sdmm/internal/env.Version={{.GIT_VERSION}} -X sdmm/internal/env.Revision={{.GIT_REV}}
LD_FLAGS_WINDOWS:
sh: echo '{{if eq OS "windows"}}-H windowsgui -extldflags=-static{{end}}'
LD_FLAGS: -s -w {{.BUILD_VARS}} {{.LD_FLAGS_WINDOWS}}
Expand Down

0 comments on commit eb0a834

Please sign in to comment.