realm-js/scripts/changelog-header.sh

15 lines
327 B
Bash
Raw Normal View History

2016-03-11 00:15:54 +00:00
empty_section=$(cat <<EOS
x.x.x Release notes (yyyy-MM-dd)
=============================================================
### API breaking changes
* None.
### Enhancements
* None.
### Bugfixes
* None.
EOS)
changelog=$(cat CHANGELOG.md)
echo "$empty_section" > CHANGELOG.md
echo >> CHANGELOG.md
echo "$changelog" >> CHANGELOG.md