pantry/projects/kubectx.dev/package.yml
Felipe Santos 2eda80c939
fix(kubectx.dev) (#5510)
* Fix kubectx and kubens

* ignore versions older than 0.9

* Update package.yml

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2024-03-11 14:24:54 -04:00

27 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