diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-09-14 16:46:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 16:46:36 -0400 |
commit | f92cc66f0dbf8e9753f2e98d4469190f3b561eb0 (patch) | |
tree | 22e8dafe862f9de4439de14f31ab4b3797ecceac /tools/release/02_publish_dependency_crates.ts | |
parent | 16c27fce1ffd33081487aa21763c927d90c494ad (diff) |
1.14.0 (#12074)
Diffstat (limited to 'tools/release/02_publish_dependency_crates.ts')
-rw-r--r-- | tools/release/02_publish_dependency_crates.ts | 11 |
1 files changed, 11 insertions, 0 deletions
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(); +} |