diff --git a/projects/charm.sh/glow/package.yml b/projects/charm.sh/glow/package.yml index 527d755e..2b63d5cf 100644 --- a/projects/charm.sh/glow/package.yml +++ b/projects/charm.sh/glow/package.yml @@ -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 diff --git a/projects/charm.sh/gum/package.yml b/projects/charm.sh/gum/package.yml index c99bee00..f0ee9450 100644 --- a/projects/charm.sh/gum/package.yml +++ b/projects/charm.sh/gum/package.yml @@ -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 diff --git a/projects/charm.sh/vhs/package.yml b/projects/charm.sh/vhs/package.yml index f7f7a126..30a537f8 100644 --- a/projects/charm.sh/vhs/package.yml +++ b/projects/charm.sh/vhs/package.yml @@ -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