From 2d12ab41349e1c374a05de9282cbf09acc762370 Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Thu, 24 Oct 2019 09:17:26 -0700 Subject: [PATCH] changes on master to scripts/publish.sh, (#135) --- .github/pull_request_template.md | 1 + scripts/publish.sh | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f3d086a0..c0058839 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,3 +3,4 @@ Checklist: * [ ] I have update the chart version in `Chart.yaml` following Semantic Versioning. * [ ] Any new values are backwards compatible and/or have sensible default. * [ ] I have followed the testing instructions in the [contributing guide](https://github.com/argoproj/argo-helm/blob/master/CONTRIBUTING.md). +* [ ] I have signed the CLA. diff --git a/scripts/publish.sh b/scripts/publish.sh index c43cd79f..8b943495 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -1,16 +1,17 @@ #!/bin/bash +set -eux SRCROOT="$(cd "$(dirname "$0")/.." && pwd)" GIT_PUSH=${GIT_PUSH:-true} rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-helm.git $SRCROOT/output -cd $SRCROOT/charts -for dir in *; +for dir in $(find $SRCROOT/charts -mindepth 1 -maxdepth 1 -type d); do echo "Processing $dir" helm package $dir done +cp $SRCROOT/*.tgz output/ cd $SRCROOT/output && helm repo index . cd $SRCROOT/output && git status