1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Don't error if changelog is unchanged

This commit is contained in:
Richard van der Hoff
2016-03-17 00:30:25 +00:00
parent 8d9d638953
commit 873fde27ac

View File

@@ -40,8 +40,10 @@ echo "Generating changelog"
update_changelog "$release"
read -p "Edit CHANGELOG.md manually, or press enter to continue " REPLY
if [ -n "$(git ls-files --modified CHANGELOG.md)" ]; then
echo "Committing updated changelog"
git commit "CHANGELOG.md" -m "Prepare changelog for $tag"
fi
# Bump package.json, build the dist, and tag
echo "npm version"