Compare commits

..

2 Commits
0.4.8 ... 0.4.9

@ -97,7 +97,11 @@ while IFS= read -r line; do
fi fi
done <<< "${COMMIT_TITLES}" done <<< "${COMMIT_TITLES}"
yq --no-colors --inplace ".annotations.\"artifacthub.io/changes\" |= loadstr(\"${YAML_FILE}\") | sort_keys(.)" "${CHART_FILE}" if [ -s "${YAML_FILE}" ]; then
yq --no-colors --inplace ".version = \"${NEW_TAG}\"" "${CHART_FILE}" yq --no-colors --inplace ".annotations.\"artifacthub.io/changes\" |= loadstr(\"${YAML_FILE}\") | sort_keys(.)" "${CHART_FILE}"
else
echo "ERROR: Changelog file is empty: ${YAML_FILE}" 1>&2
exit 1
fi
rm "${YAML_FILE}" rm "${YAML_FILE}"