From abe4afe78a58d4d3042e66c3370b2cc8e80b47f1 Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Tue, 18 Sep 2018 13:38:41 +0200 Subject: [PATCH] add changelog template during release (#1997) --- scripts/publish.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/publish.sh b/scripts/publish.sh index eac9288d..f2b5f218 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -79,4 +79,11 @@ REALM_BUILD_ANDROID=1 npm publish ${PRERELEASE:+--tag $PRERELEASE} echo "Pushing v$VERSION tag to GitHub..." git push origin "v$VERSION" +# Add the changelog templates +echo "Adding changelog template" +./scripts/changelog-header.sh +git add CHANGELOG.md +git commit -m "Adding changelog template" +git push origin "$BRANCH" + echo "Done. Now, you should update the documentation!"