From 7f0177fed47db80ab512a0287c9eae6afc5d26bf Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Sun, 4 Aug 2019 23:40:44 -0400 Subject: [PATCH] wrap check for release and update --- .circleci/release.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/release.sh b/.circleci/release.sh index 9572e1a3..db13ac1b 100755 --- a/.circleci/release.sh +++ b/.circleci/release.sh @@ -50,9 +50,11 @@ main() { fi done - release_charts - sleep 5 - update_index + if [[ -d .deploy ]]; then + release_charts + sleep 5 + update_index + fi else echo "Nothing to do. No chart changes detected." fi