summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/cut_a_release.md3
-rwxr-xr-xtools/release/02_create_pr.ts1
-rwxr-xr-xtools/release/04_post_publish.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/cut_a_release.md b/tools/cut_a_release.md
index 876bc3201..c2b190049 100644
--- a/tools/cut_a_release.md
+++ b/tools/cut_a_release.md
@@ -35,8 +35,7 @@ Before starting the process write a message in company's #general channel:
3. A PR will be automatically created. Follow the checklist in the PR and review
it.
-4. Merge the PR. While doing so, ensure that the commit name is exactly the
- version name. Eg. `0.121.0`, not `0.121.0 (#1810)`.
+4. Merge the PR.
5. Wait for the CI run to complete which will tag the repo and create a draft
release. Review the draft release and then publish it.
diff --git a/tools/release/02_create_pr.ts b/tools/release/02_create_pr.ts
index 93cbd64c2..efaf890f6 100755
--- a/tools/release/02_create_pr.ts
+++ b/tools/release/02_create_pr.ts
@@ -34,6 +34,7 @@ console.log(`Opened PR at ${openedPr.data.url}`);
function getPrBody() {
let text = `Bumped versions for ${cliCrate.version}\n\n` +
`Please ensure:\n` +
+ `- [ ] Target branch is correct\n` +
`- [ ] Crate versions are bumped correctly\n` +
`- [ ] deno_std version is incremented in the code\n` +
`- [ ] Releases.md is updated correctly\n\n` +
diff --git a/tools/release/04_post_publish.ts b/tools/release/04_post_publish.ts
index b9da77c05..c6776f408 100755
--- a/tools/release/04_post_publish.ts
+++ b/tools/release/04_post_publish.ts
@@ -50,7 +50,7 @@ async function forwardReleaseCommitToMain() {
"checkout",
"-b",
newBranchName,
- "main",
+ "origin/main",
]);
await repo.runCommand([
"git",