2023-03-24 17:50:45 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/gruntwork-io/terragrunt/archive/refs/tags/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: gruntwork-io/terragrunt
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/terragrunt
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
terraform.io: '*'
|
|
|
|
|
|
|
|
build:
|
2023-08-11 19:28:20 +03:00
|
|
|
script: go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/terragrunt
|
2023-03-24 17:50:45 +03:00
|
|
|
dependencies:
|
|
|
|
go.dev: ^1.18
|
|
|
|
env:
|
|
|
|
LDFLAGS:
|
2023-08-11 19:28:20 +03:00
|
|
|
- -s
|
|
|
|
- -w
|
|
|
|
- -X=main.VERSION={{ version }}
|
|
|
|
# Moved to this in 0.49.0
|
|
|
|
- -X=github.com/gruntwork-io/go-commons/version.Version={{ version }}
|
2023-03-24 17:50:45 +03:00
|
|
|
linux:
|
|
|
|
LDFLAGS:
|
|
|
|
- -buildmode=pie
|
|
|
|
|
|
|
|
test:
|
|
|
|
test "$(terragrunt --version)" = "terragrunt version {{ version }}"
|