mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-10 22:36:01 +00:00
Update changelog script
This commit is contained in:
parent
89e28be437
commit
bbc0ed9d62
28
scripts/changelog-header.sh
Normal file → Executable file
28
scripts/changelog-header.sh
Normal file → Executable file
@ -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…
x
Reference in New Issue
Block a user