Update changelog script
This commit is contained in:
parent
89e28be437
commit
bbc0ed9d62
|
@ -1,14 +1,22 @@
|
||||||
empty_section=$(cat <<EOS
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
CHANGELOG=$(cat <<EOF
|
||||||
x.x.x Release notes (yyyy-MM-dd)
|
x.x.x Release notes (yyyy-MM-dd)
|
||||||
=============================================================
|
=============================================================
|
||||||
### API breaking changes
|
### Breaking changes
|
||||||
* None.
|
* None
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
* None.
|
* None
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
* None.
|
* None
|
||||||
EOS)
|
|
||||||
changelog=$(cat CHANGELOG.md)
|
$(cat CHANGELOG.md)
|
||||||
echo "$empty_section" > CHANGELOG.md
|
EOF
|
||||||
echo >> CHANGELOG.md
|
)
|
||||||
echo "$changelog" >> CHANGELOG.md
|
|
||||||
|
echo "$CHANGELOG" > CHANGELOG.md
|
||||||
|
|
Loading…
Reference in New Issue