This commit is contained in:
Alex Collins 2019-09-24 13:55:12 -07:00
parent 9273c610ce
commit 338850f10e
2 changed files with 4 additions and 4 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
output
.vscode
.DS_Store
.DS_Store
/*.tgz

View file

@ -8,10 +8,9 @@ rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-hel
for dir in $SRCROOT/charts/*;
do
echo "Processing $dir"
version=$(cat $dir/Chart.yaml | grep version: | awk '{print $2}')
tar -cvzf $SRCROOT/output/$(basename $dir)-$version.tgz -C $dir .
cd $SRCROOT/output && helm repo index .
helm package $dir
done
cd $SRCROOT/output && helm repo index .
cd $SRCROOT/output && git status