Added script to release package

This commit is contained in:
2023-08-21 21:42:47 +02:00
parent 4be0c1bc58
commit 92c3e43423
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
DIR=$(pwd)
cd ~/git-repos/cloud-configuration/helm/$1
helm package --sign --key "github@2martens.de" --keyring ~/.gnupg/secring.gpg .
mv *.tgz *.tgz.prov ~/git-repos/helm-charts/charts
cd ~/git-repos/helm-charts/charts
git pull
git add .
git commit -m "Upgraded $1"
git push
cd $DIR