mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
dc12053972
closes #2831 closes #2832
31 lines
664 B
YAML
31 lines
664 B
YAML
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:
|
|
script: go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/terragrunt
|
|
dependencies:
|
|
go.dev: ^1.18
|
|
env:
|
|
LDFLAGS:
|
|
- -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
|
|
|
|
test:
|
|
test "$(terragrunt --version)" = "terragrunt version {{ version }}"
|