mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
b3c3aae2e4
* fix(helm) closes #3634 * wip
30 lines
682 B
YAML
30 lines
682 B
YAML
distributable:
|
|
url: https://github.com/helm/helm/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: helm/helm/releases/tags
|
|
|
|
provides:
|
|
- bin/helm
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.19
|
|
script:
|
|
- run: |
|
|
sed -i.bak \
|
|
-e's/unreleased//g' \
|
|
-e's/\(shell find . .* -print\)/\1 | grep -v dev.pkgx./' \
|
|
Makefile
|
|
rm Makefile.bak
|
|
- mkdir -p "{{prefix}}/bin"
|
|
- make install VERSION={{version}} INSTALL_PATH="{{prefix}}/bin"
|
|
|
|
test:
|
|
script: |
|
|
helm create foo
|
|
test -d "foo/charts"
|
|
helm version | grep "GitTreeState:\"clean\""
|
|
helm version | grep "Version:\"{{version}}\""
|