fix release helm script

This commit is contained in:
Luckysideburn
2022-09-15 10:25:25 +00:00
parent 82ea4aaf9e
commit dc6462bf17
2 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
utils
dev-tools/*.tgz
.vagrant
x86_64-darwin.zip
x86_64-linux.zip

View File

@@ -1,4 +1,9 @@
#Example...
helm package .
cp foo.tgz helm-charts/
helm repo index.
#! /bin/bash
echo "Release new version of the KubeInvaders Helm Chart"
helm package ../helm-charts/kubeinvaders/
tar_gz_name=$(ls -art | grep "kubeinvaders.*.tgz")
cp $tar_gz_name ../../helm-charts/
cd ../../helm-charts/
helm repo index .