mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
3b68734eda
commit
dc12053972
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue