From 446ae51f2ffc3643fd1b80264db33d11cbb4a282 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 16 Dec 2025 17:20:21 -0600 Subject: [PATCH] Update version_branch.yml --- .github/workflows/version_branch.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/version_branch.yml b/.github/workflows/version_branch.yml index 2d5b416..e5d7d0a 100644 --- a/.github/workflows/version_branch.yml +++ b/.github/workflows/version_branch.yml @@ -164,7 +164,9 @@ if j < len(text) and h2_re.match(text[j]): raise SystemExit(0) 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') text.insert(j, insert)