mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
1b6239bae3
commit
a525849c91
1 changed files with 31 additions and 0 deletions
31
projects/arkade.dev/package.yml
Normal file
31
projects/arkade.dev/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/alexellis/arkade
|
||||||
|
ref: ${{version.tag}}
|
||||||
|
|
||||||
|
display-name: Arkade
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: alexellis/arkade/releases/tags
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/arkade
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.21
|
||||||
|
git-scm.org: ^2
|
||||||
|
script:
|
||||||
|
go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/arkade
|
||||||
|
env:
|
||||||
|
LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X github.com/alexellis/arkade/pkg.Version={{version}}
|
||||||
|
- -X github.com/alexellis/arkade/pkg.GitCommit=$(git rev-parse HEAD)"
|
||||||
|
linux:
|
||||||
|
LDFLAGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
|
||||||
|
test:
|
||||||
|
- arkade version | grep {{version}}
|
||||||
|
- arkade info openfaas
|
Loading…
Reference in a new issue