pantry/projects/argoproj.github.io/workflows/package.yml

28 lines
597 B
YAML
Raw Normal View History

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}}"