summaryrefslogtreecommitdiff
path: root/tools/release
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-08-29 20:19:54 +0200
committerGitHub <noreply@github.com>2022-08-29 20:19:54 +0200
commitb62ef4d37bc1207abb2daed5e2568eb581f07aa2 (patch)
tree0e2e188a199d1ef2b7fdced66154021eb7eca6e5 /tools/release
parenta938aaf36fde1ecf25fdbff323690c98c99a1ecc (diff)
refactor(cli): Remove cli/node dependency on cli/compat (#15654)
Diffstat (limited to 'tools/release')
-rwxr-xr-xtools/release/01_bump_crate_versions.ts2
-rwxr-xr-xtools/release/02_create_pr.ts2
-rw-r--r--tools/release/release_doc_template.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/release/01_bump_crate_versions.ts b/tools/release/01_bump_crate_versions.ts
index d2446d44c..75daaf3f5 100755
--- a/tools/release/01_bump_crate_versions.ts
+++ b/tools/release/01_bump_crate_versions.ts
@@ -97,7 +97,7 @@ async function getGitLog() {
}
async function updateStdVersion() {
- const compatFilePath = $.path.join(cliCrate.folderPath, "compat/mod.rs");
+ const compatFilePath = $.path.join(cliCrate.folderPath, "deno_std.rs");
const text = await Deno.readTextFile(compatFilePath);
const versionRe = /std@([0-9]+\.[0-9]+\.[0-9]+)/;
const stdVersionText = versionRe.exec(text)?.[1];
diff --git a/tools/release/02_create_pr.ts b/tools/release/02_create_pr.ts
index 0c0ab7b73..18c1bc582 100755
--- a/tools/release/02_create_pr.ts
+++ b/tools/release/02_create_pr.ts
@@ -36,7 +36,7 @@ function getPrBody() {
`Please ensure:\n` +
`- [ ] Target branch is correct\n` +
`- [ ] Crate versions are bumped correctly\n` +
- `- [ ] deno_std version is incremented in the code (see \`cli/compat/mod.rs\`)\n` +
+ `- [ ] deno_std version is incremented in the code (see \`cli/deno_std.rs\`)\n` +
`- [ ] Releases.md is updated correctly\n\n` +
`To make edits to this PR:\n` +
"```shell\n" +
diff --git a/tools/release/release_doc_template.md b/tools/release/release_doc_template.md
index ce874e975..acd2e8cb0 100644
--- a/tools/release/release_doc_template.md
+++ b/tools/release/release_doc_template.md
@@ -100,7 +100,7 @@ verify on GitHub that everything looks correct.
1. Checkout the branch the release is being made on.
2. Manually run `./tools/release/01_bump_crate_versions.ts`
1. Ensure the crate versions were bumped correctly
- 2. Ensure deno_std version was updated correctly in `cli/compat/mod.rs`
+ 2. Ensure deno_std version was updated correctly in `cli/deno_std.rs`
3. Ensure `Releases.md` was updated correctly
3. Open a PR with the changes and continue with the steps below.
</details>