inject versions for charm tools

This commit is contained in:
Max Howell 2022-11-26 08:16:08 -05:00
parent c6207b623c
commit a5cc1f64af
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ build:
env: env:
GO111MODULE: on GO111MODULE: on
LDFLAGS: LDFLAGS:
- -s -w [-s, -w, "-X=main.Version={{version}}"]
linux: linux:
# or segmentation fault # or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575 # fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575

View file

@ -21,7 +21,7 @@ build:
env: env:
GO111MODULE: on GO111MODULE: on
LDFLAGS: LDFLAGS:
- -s -w [-s, -w, "-X=main.Version={{version}}"]
linux: linux:
# or segmentation fault # or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575 # fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575

View file

@ -26,7 +26,7 @@ build:
mv vhs "{{ prefix }}"/bin mv vhs "{{ prefix }}"/bin
env: env:
LDFLAGS: LDFLAGS:
- -s -w [-s, -w, "-X=main.Version={{version}}"]
linux: linux:
# or segmentation fault # or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575 # fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575