diff --git a/.gitignore b/.gitignore index 468b8f5a..8a77cce9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ output .vscode -.DS_Store \ No newline at end of file +.DS_Store +/*.tgz \ No newline at end of file diff --git a/scripts/publish.sh b/scripts/publish.sh index 2d827b16..99265392 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -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