summaryrefslogtreecommitdiff
path: root/tools/release/01_bump_dependency_crate_versions.ts
blob: b5ee6968db37589a0c98b82d9fe8c1b620cd61b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env -S deno run --allow-read --allow-write --allow-run=cargo
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { DenoWorkspace } from "./helpers/mod.ts";

const workspace = await DenoWorkspace.load();

for (const crate of workspace.getDependencyCrates()) {
  await crate.increment("minor");
}

await workspace.updateLockFile();