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:
GO111MODULE: on
LDFLAGS:
- -s -w
[-s, -w, "-X=main.Version={{version}}"]
linux:
# or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575

View file

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

View file

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