Update version_branch.yml
This commit is contained in:
2
.github/workflows/version_branch.yml
vendored
2
.github/workflows/version_branch.yml
vendored
@@ -195,7 +195,7 @@ jobs:
|
|||||||
print('[INFO] Replaced UNRELEASED H2 with version heading')
|
print('[INFO] Replaced UNRELEASED H2 with version heading')
|
||||||
|
|
||||||
# After converting UNRELEASED to a release, insert a new UNRELEASED section right after TODO block
|
# After converting UNRELEASED to a release, insert a new UNRELEASED section right after TODO block
|
||||||
insert_unreleased = chr(10) + "## [UNRELEASED]" + chr(10) + "- Placeholder for next release" + chr(10)
|
insert_unreleased = chr(10) + "## [UNRELEASED]" + chr(10) + "- Placeholder for next release" + chr(10) + chr(10)
|
||||||
text.insert(j, insert_unreleased)
|
text.insert(j, insert_unreleased)
|
||||||
p.write_text(''.join(text), encoding='utf-8')
|
p.write_text(''.join(text), encoding='utf-8')
|
||||||
raise SystemExit(0)
|
raise SystemExit(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user