chore: optimize the heading levels in change-log

This commit is contained in:
Cotes Chung 2022-11-22 21:08:37 +08:00
parent 773d3b1263
commit 4e7bf00ee9
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -187,6 +187,9 @@ main() {
fi
fi
# Change heading of Patch version to level 2 (a bug from `standard-version`)
sed -i "s/^### \[/## \[/g" CHANGELOG.md
_version="$(grep '"version":' "$NODE_CONFIG" | sed 's/.*: "//;s/".*//')"
echo -e "Bump version number to $_version\n"