Create release notes template

This commit is contained in:
dotasek 2022-02-03 16:46:54 -05:00
parent e0bdbda5b7
commit ca67688ae5
2 changed files with 14 additions and 7 deletions

View File

@ -0,0 +1,7 @@
## Validator Changes
* no changes
## Other code changes
* no changes

View File

@ -12,11 +12,11 @@ variables:
steps:
# Checks if the release notes file is populated. Exits if it is not.
- bash: |
if [ -s RELEASE_NOTES.md ]
if [ -n "$(cmp RELEASE_NOTES.md RELEASE_NOTES.template.md)" ]
then
echo "RELEASE_NOTES.md has data, proceeding to next step."
echo "RELEASE_NOTES.md has changed, proceeding to next step"
else
echo "Your RELEASE_NOTES.md file is empty. Please provide release notes before creating a release."
echo "Your RELEASE_NOTES.md file is unchanged. Please provide release notes before creating a release."
exit 1
fi