mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +00:00
build(release): remove extra blank lines in changelog
This commit is contained in:
parent
e4e76f0a11
commit
2eb4267cdd
@ -193,6 +193,8 @@ main() {
|
|||||||
|
|
||||||
# Change heading of Patch version to level 2 (a bug from `standard-version`)
|
# Change heading of Patch version to level 2 (a bug from `standard-version`)
|
||||||
sed -i "s/^### \[/## \[/g" CHANGELOG.md
|
sed -i "s/^### \[/## \[/g" CHANGELOG.md
|
||||||
|
# Replace multiple empty lines with a single empty line
|
||||||
|
sed -i "/^$/N;/^\n$/D" CHANGELOG.md
|
||||||
|
|
||||||
_version="$(grep '"version":' "$NODE_CONFIG" | sed 's/.*: "//;s/".*//')"
|
_version="$(grep '"version":' "$NODE_CONFIG" | sed 's/.*: "//;s/".*//')"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user