Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2740175246 | |||
7caedbe80d |
@ -97,7 +97,11 @@ while IFS= read -r line; do
|
||||
fi
|
||||
done <<< "${COMMIT_TITLES}"
|
||||
|
||||
yq --no-colors --inplace ".annotations.\"artifacthub.io/changes\" |= loadstr(\"${YAML_FILE}\") | sort_keys(.)" "${CHART_FILE}"
|
||||
yq --no-colors --inplace ".version = \"${NEW_TAG}\"" "${CHART_FILE}"
|
||||
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}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm "${YAML_FILE}"
|
Loading…
x
Reference in New Issue
Block a user