Update version_branch.yml
This commit is contained in:
4
.github/workflows/version_branch.yml
vendored
4
.github/workflows/version_branch.yml
vendored
@@ -168,8 +168,8 @@ jobs:
|
|||||||
|
|
||||||
# Always insert the new version between TODO section and existing version entries
|
# Always insert the new version between TODO section and existing version entries
|
||||||
stamp = datetime.now(timezone.utc).strftime('%Y-%m-%d')
|
stamp = datetime.now(timezone.utc).strftime('%Y-%m-%d')
|
||||||
insert = chr(10) + "## [" + new_version + "] " + stamp + chr(10)
|
insert = chr(10) + "## [" + new_version + "] " + stamp + chr(10) + " - Version bump" + chr(10) + chr(10)
|
||||||
print('[INFO] Inserting version H2 after TODO block')
|
print('[INFO] Inserting version Version after TODO block')
|
||||||
|
|
||||||
text.insert(j, insert)
|
text.insert(j, insert)
|
||||||
p.write_text(''.join(text), encoding='utf-8')
|
p.write_text(''.join(text), encoding='utf-8')
|
||||||
|
|||||||
Reference in New Issue
Block a user