You've already forked matrix-js-sdk
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:
@@ -40,8 +40,10 @@ echo "Generating changelog"
|
|||||||
update_changelog "$release"
|
update_changelog "$release"
|
||||||
read -p "Edit CHANGELOG.md manually, or press enter to continue " REPLY
|
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"
|
echo "Committing updated changelog"
|
||||||
git commit "CHANGELOG.md" -m "Prepare changelog for $tag"
|
git commit "CHANGELOG.md" -m "Prepare changelog for $tag"
|
||||||
|
fi
|
||||||
|
|
||||||
# Bump package.json, build the dist, and tag
|
# Bump package.json, build the dist, and tag
|
||||||
echo "npm version"
|
echo "npm version"
|
||||||
|
|||||||
Reference in New Issue
Block a user