mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
d1a10de57c
commit
b3c3aae2e4
1 changed files with 9 additions and 6 deletions
|
@ -11,12 +11,15 @@ provides:
|
|||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.19
|
||||
script: |
|
||||
sed -i.bak 's/unreleased//g' Makefile
|
||||
rm Makefile.bak
|
||||
make build VERSION={{version}}
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv bin/helm "{{ prefix }}"/bin
|
||||
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: |
|
||||
|
|
Loading…
Reference in a new issue