mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/changie.dev/package.yml
This commit is contained in:
parent
1bdada278e
commit
3d1bec0ce5
31
projects/changie.dev/package.yml
Normal file
31
projects/changie.dev/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/miniscruff/changie.git
|
||||||
|
ref: ${{version.tag}}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: miniscruff/changie
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: '>=1.21'
|
||||||
|
script:
|
||||||
|
- go build $ARGS -ldflags="$LDFLAGS"
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -trimpath
|
||||||
|
- -o={{prefix}}/bin/changie
|
||||||
|
LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X main.version={{version}}
|
||||||
|
linux:
|
||||||
|
LDFLAGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/changie
|
||||||
|
|
||||||
|
test:
|
||||||
|
- changie init
|
||||||
|
- cat CHANGELOG.md | grep 'All notable changes to this project will be documented in this file'
|
||||||
|
- changie --version | grep {{version}}
|
Loading…
Reference in a new issue