Skip to content

Commit

Permalink
[#55] check that RELEASE-NOTES-NEXT.md summary was modified in releas…
Browse files Browse the repository at this point in the history
…e.bash
  • Loading branch information
remkop committed Jul 28, 2020
1 parent 9e41786 commit 3f5c985
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ fi
if [ "${ACTUAL_RELEASE_NOTES}" == "${RELEASE_NOTES_TEMPLATE}" ]; then
error "The Release Notes are just the template. Please update ${RELEASE_NOTES_FILE}."
fi

# Verify that the summary of `RELEASE-NOTES-NEXT.md` is not just the template summary.
if grep "This is a template and should be replaced by actual release notes" "${RELEASE_NOTES_FILE}" >> /dev/null; then
error "The Release Notes summary is just the template. Please update ${RELEASE_NOTES_FILE}."
fi
echo "... OK. Release Notes exist."

echo "Prepending ${RELEASE_NOTES_FILE} to ${RELEASE_NOTES_HISTORY_FILE}..."
Expand Down

0 comments on commit 3f5c985

Please sign in to comment.