mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
2eda80c939
* Fix kubectx and kubens * ignore versions older than 0.9 * Update package.yml --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
28 lines
523 B
YAML
28 lines
523 B
YAML
distributable:
|
|
url: git+https://github.com/ahmetb/kubectx.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: ahmetb/kubectx
|
|
ignore: /^v?0\.[0-8](\.|$)/ # prior to 0.9 kubectx was a bash script
|
|
|
|
provides:
|
|
- bin/kubectx
|
|
- bin/kubens
|
|
|
|
dependencies:
|
|
github.com/junegunn/fzf: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.20
|
|
env:
|
|
CGO_ENABLED: '0'
|
|
script:
|
|
- go build -o '{{ prefix }}/bin/kubectx' ./cmd/kubectx
|
|
- go build -o '{{ prefix }}/bin/kubens' ./cmd/kubens
|
|
|
|
test:
|
|
- kubectx --help
|
|
- kubens --help
|