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,13 +12,13 @@ variables:
steps:
# Checks if the release notes file is populated. Exits if it is not.
- bash: |
if [ -s RELEASE_NOTES.md ]
then
echo "RELEASE_NOTES.md has data, proceeding to next step."
else
echo "Your RELEASE_NOTES.md file is empty. Please provide release notes before creating a release."
exit 1
fi
if [ -n "$(cmp RELEASE_NOTES.md RELEASE_NOTES.template.md)" ]
then
echo "RELEASE_NOTES.md has changed, proceeding to next step"
else
echo "Your RELEASE_NOTES.md file is unchanged. Please provide release notes before creating a release."
exit 1
fi
# This task pulls the <version> value from the org.hl7.fhir.r5 project pom.xml file. All modules are released as
# the same version, at the same time, as defined in the root level pom.xml.