mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
inject versions for charm tools
This commit is contained in:
parent
c6207b623c
commit
a5cc1f64af
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue