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: '*'
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue