release script: use helm package to create charts

This commit is contained in:
Soam Vasani
2017-11-09 13:38:01 -08:00
parent 2e63787b96
commit d8844ab13c
+4 -4
View File
@@ -144,11 +144,11 @@ build_charts() {
version=$1 version=$1
mkdir -p $BUILDDIR/charts mkdir -p $BUILDDIR/charts
pushd $DIR/charts pushd $DIR/charts
for c in all core find . -iname *.~?~ | xargs rm
for c in fission-all fission-core
do do
tgz=fission-$c-$version.tgz helm package $c/
tar czvf $tgz fission-$c/ mv *.tgz $BUILDDIR/charts/
mv $tgz $BUILDDIR/charts/
done done
popd popd
} }