fix(terragrunt)

closes #2831
closes #2832
This commit is contained in:
Jacob Heider 2023-08-11 12:28:20 -04:00
parent 3b68734eda
commit dc12053972
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -12,15 +12,16 @@ dependencies:
terraform.io: '*'
build:
script: |
go build -v -ldflags="$LDFLAGS"
mkdir -p "{{ prefix }}"/bin
mv terragrunt "{{ prefix }}"/bin
script: go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/terragrunt
dependencies:
go.dev: ^1.18
env:
LDFLAGS:
[-s, -w, "-X=main.VERSION={{ version }}"]
- -s
- -w
- -X=main.VERSION={{ version }}
# Moved to this in 0.49.0
- -X=github.com/gruntwork-io/go-commons/version.Version={{ version }}
linux:
LDFLAGS:
- -buildmode=pie