summaryrefslogtreecommitdiff
path: root/tools/release/04_post_publish.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-08 12:32:25 -0400
committerGitHub <noreply@github.com>2022-04-08 12:32:25 -0400
commita4eee007ef28f918db9165c52a19bc30bd65bad3 (patch)
tree959e41c8a5e680139d8640c1bf0fa6e2b63e69d5 /tools/release/04_post_publish.ts
parenta4c1e1bdcf3bd295d624c266278670e08227b26b (diff)
chore: update release instructions based on 1.20.5 release (#14239)
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}`;