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
1 changed files with 3 additions and 0 deletions

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"