mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
28 lines
597 B
YAML
28 lines
597 B
YAML
|
distributable:
|
||
|
url: https://github.com/argoproj/argo-workflows/archive/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
display-name: argo-workflows
|
||
|
|
||
|
versions:
|
||
|
github: argoproj/argo-workflows
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
go.dev: '*'
|
||
|
script:
|
||
|
- make GIT_TAG="v{{version}}" GIT_COMMIT="v{{version}}" RELEASE_TAG=true STATIC_FILES=false GIT_TREE_STATE=clean GOARGS= dist/argo-linux-amd64
|
||
|
- mkdir -p {{prefix}}/bin
|
||
|
- install dist/argo-linux-amd64 {{prefix}}/bin/argo
|
||
|
env:
|
||
|
LDFLAGS:
|
||
|
- -s
|
||
|
- -w
|
||
|
|
||
|
provides:
|
||
|
- bin/argo
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- argo version | grep "v{{version}}"
|