mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
parent
9dde2d6f14
commit
dc00356d6e
1 changed files with 28 additions and 0 deletions
28
projects/github.com/ankitpokhrel/jira-cli/package.yml
Normal file
28
projects/github.com/ankitpokhrel/jira-cli/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://github.com/ankitpokhrel/jira-cli/archive/refs/tags/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: ankitpokhrel/jira-cli
|
||||
|
||||
provides:
|
||||
- bin/jira
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.21
|
||||
script:
|
||||
- run: unset LDFLAGS
|
||||
if: darwin
|
||||
- make deps install
|
||||
env:
|
||||
GOBIN: ${{prefix}}/bin
|
||||
VERSION: ${{version}}
|
||||
GIT_COMMIT: release
|
||||
SOURCE_DATE_EPOCH: $(date +%s)
|
||||
linux:
|
||||
LDFLAGS: -buildmode=pie
|
||||
|
||||
test:
|
||||
- jira version | grep 'Version="{{version}}"'
|
||||
- (jira serverinfo 2>&1 || true) | grep 'The tool needs a Jira API token to function.'
|
Loading…
Reference in a new issue