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: '*' terraform.io: '*'
build: build:
script: | script: go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/terragrunt
go build -v -ldflags="$LDFLAGS"
mkdir -p "{{ prefix }}"/bin
mv terragrunt "{{ prefix }}"/bin
dependencies: dependencies:
go.dev: ^1.18 go.dev: ^1.18
env: env:
LDFLAGS: 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: linux:
LDFLAGS: LDFLAGS:
- -buildmode=pie - -buildmode=pie