fix(scripts): exit when change log file is empty
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 17s
Release / publish-chart (push) Failing after 14s

This commit is contained in:
volker.raschek committed 2025-06-03 21:14:26 +02:00
1 parent 7caedbe80d
commit 2740175246
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ done <<< "${COMMIT_TITLES}"
if [ -s "${YAML_FILE}" ]; then
yq --no-colors --inplace ".annotations.\"artifacthub.io/changes\" |= loadstr(\"${YAML_FILE}\") | sort_keys(.)" "${CHART_FILE}"
else
echo "ERROR: Changelog file is empty: ${YAML_FILE}"
echo "ERROR: Changelog file is empty: ${YAML_FILE}" 1>&2
exit 1
fi