Skip to content

Commit

Permalink
Don't try to package charts that no longer exist (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
  • Loading branch information
unguiculus authored Mar 28, 2020
1 parent c871080 commit 5ecd0f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ main() {
mkdir -p .cr-index

for chart in "${changed_charts[@]}"; do
package_chart "$chart"
if [[ -d "$chart" ]]; then
package_chart "$chart"
else
echo "Chart '$chart' no longer exists in repo. Skipping it..."
fi
done

release_charts
Expand Down

0 comments on commit 5ecd0f7

Please sign in to comment.