Update version_branch.yml

This commit is contained in:
2025-12-16 17:20:21 -06:00
parent e7b840550b
commit 446ae51f2f

View File

@@ -164,7 +164,9 @@ if j < len(text) and h2_re.match(text[j]):
raise SystemExit(0) raise SystemExit(0)
stamp = datetime.now(timezone.utc).strftime('%Y-%m-%d') stamp = datetime.now(timezone.utc).strftime('%Y-%m-%d')
insert = f"\n## [{new_version}] {stamp}\n" insert = "
## [{}] {}
".format(new_version, stamp)
print('[INFO] Inserting initial H2 after TODO block') print('[INFO] Inserting initial H2 after TODO block')
text.insert(j, insert) text.insert(j, insert)