From f92cc66f0dbf8e9753f2e98d4469190f3b561eb0 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Sep 2021 16:46:36 -0400 Subject: 1.14.0 (#12074) --- tools/cut_a_release.md | 27 ++++++++++++++------------- tools/release/02_publish_dependency_crates.ts | 11 +++++++++++ tools/release/02_publish_depenency_crates.ts | 11 ----------- 3 files changed, 25 insertions(+), 24 deletions(-) create mode 100644 tools/release/02_publish_dependency_crates.ts delete mode 100644 tools/release/02_publish_depenency_crates.ts (limited to 'tools') diff --git a/tools/cut_a_release.md b/tools/cut_a_release.md index f5f3649b2..5335518c7 100644 --- a/tools/cut_a_release.md +++ b/tools/cut_a_release.md @@ -27,29 +27,30 @@ cut.** 4. Run `./tools/release/02_publish_dependency_crates.ts` to publish these bumped crates to `crates.io` -**Make sure that `cargo` is logged on with a user that has permissions to -publish those crates.** + **Make sure that `cargo` is logged on with a user that has permissions to + publish those crates.** -If there are any problems when you publish, that require you to change the code, -then after applying the fixes they should be committed and pushed to the PR. + If there are any problems when you publish, that require you to change the + code, then after applying the fixes they should be committed and pushed to + the PR. -4. Once all crates are published merge the PR. +5. Once all crates are published merge the PR. -5. Run `./tools/release/03_bump_cli_version.ts` to bump the CLI version. +6. Run `./tools/release/03_bump_cli_version.ts` to bump the CLI version. -6. Use the output of the above command to update `Releases.md` +7. Use the output of the above command to update `Releases.md` -7. Create a PR for these changes. +8. Create a PR for these changes. -8. Make sure CI pipeline passes. +9. Make sure CI pipeline passes. -9. Publish `cli` crate to `crates.io` +10. Publish `cli` crate to `crates.io` -10. Merge the PR. +11. Merge the PR. -11. Create a tag with the version number (with `v` prefix). +12. Create a tag with the version number (with `v` prefix). -12. Wait for CI pipeline on the created tag branch to pass. +13. Wait for CI pipeline on the created tag branch to pass. The CI pipeline will create a release draft on GitHub (https://github.com/denoland/deno/releases). diff --git a/tools/release/02_publish_dependency_crates.ts b/tools/release/02_publish_dependency_crates.ts new file mode 100644 index 000000000..9dd6253fe --- /dev/null +++ b/tools/release/02_publish_dependency_crates.ts @@ -0,0 +1,11 @@ +#!/usr/bin/env -S deno run --allow-read --allow-write --allow-run=cargo --allow-net=crates.io +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +import { DenoWorkspace, getCratesPublishOrder } from "./helpers/mod.ts"; + +const workspace = await DenoWorkspace.load(); + +const dependencyCrates = workspace.getDependencyCrates(); + +for (const crate of getCratesPublishOrder(dependencyCrates)) { + await crate.publish(); +} diff --git a/tools/release/02_publish_depenency_crates.ts b/tools/release/02_publish_depenency_crates.ts deleted file mode 100644 index 9dd6253fe..000000000 --- a/tools/release/02_publish_depenency_crates.ts +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env -S deno run --allow-read --allow-write --allow-run=cargo --allow-net=crates.io -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -import { DenoWorkspace, getCratesPublishOrder } from "./helpers/mod.ts"; - -const workspace = await DenoWorkspace.load(); - -const dependencyCrates = workspace.getDependencyCrates(); - -for (const crate of getCratesPublishOrder(dependencyCrates)) { - await crate.publish(); -} -- cgit v1.2.3