mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-13 00:04:49 +00:00
Create release notes template
This commit is contained in:
parent
e0bdbda5b7
commit
ca67688ae5
7
RELEASE_NOTES.template.md
Normal file
7
RELEASE_NOTES.template.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
## Validator Changes
|
||||||
|
|
||||||
|
* no changes
|
||||||
|
|
||||||
|
## Other code changes
|
||||||
|
|
||||||
|
* no changes
|
@ -12,11 +12,11 @@ variables:
|
|||||||
steps:
|
steps:
|
||||||
# Checks if the release notes file is populated. Exits if it is not.
|
# Checks if the release notes file is populated. Exits if it is not.
|
||||||
- bash: |
|
- bash: |
|
||||||
if [ -s RELEASE_NOTES.md ]
|
if [ -n "$(cmp RELEASE_NOTES.md RELEASE_NOTES.template.md)" ]
|
||||||
then
|
then
|
||||||
echo "RELEASE_NOTES.md has data, proceeding to next step."
|
echo "RELEASE_NOTES.md has changed, proceeding to next step"
|
||||||
else
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user