1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 13:44:15 +00:00

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

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"