summaryrefslogtreecommitdiff
path: root/tools/release/04_post_publish.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/04_post_publish.ts')
-rwxr-xr-xtools/release/04_post_publish.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/release/04_post_publish.ts b/tools/release/04_post_publish.ts
index 4ed9d9f53..a393e6b8c 100755
--- a/tools/release/04_post_publish.ts
+++ b/tools/release/04_post_publish.ts
@@ -40,6 +40,7 @@ async function forwardReleaseCommitToMain() {
return;
}
+ await repo.runCommandWithOutput(["git", "fetch", "origin", "main"]);
const releaseCommitHash =
(await repo.runCommand(["git", "rev-parse", "HEAD"])).trim();
const newBranchName = `forward_v${cliCrate.version}`;