Don't try to package charts that no longer exist (#20)

Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
This commit is contained in:
Reinhard Nägele
2020-03-28 09:16:39 +01:00
committed by GitHub
parent c8710807ac
commit 5ecd0f7f1a
+5 -1
View File
@@ -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