summaryrefslogtreecommitdiff
path: root/tools/release/deno_workspace.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-02 11:25:12 -0400
committerGitHub <noreply@github.com>2022-04-02 11:25:12 -0400
commitc0ee027d346191238c01d9fd35f45cc695bd1ae6 (patch)
tree69efc68445cfcdfaf823ef1b777e2cd4b842d181 /tools/release/deno_workspace.ts
parent94885bc2932fa0e40feee877f7f68fc5e68f76c8 (diff)
chore(ci): automatically include releases notes in release draft (#14179)
Diffstat (limited to 'tools/release/deno_workspace.ts')
-rw-r--r--tools/release/deno_workspace.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/release/deno_workspace.ts b/tools/release/deno_workspace.ts
index d36a2a22f..389d8a1e1 100644
--- a/tools/release/deno_workspace.ts
+++ b/tools/release/deno_workspace.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
-import { path, Repo } from "./deps.ts";
+import { path, ReleasesMdFile, Repo } from "./deps.ts";
export class DenoWorkspace {
#repo: Repo;
@@ -46,6 +46,12 @@ export class DenoWorkspace {
return this.#repo.getCrate(name);
}
+ getReleasesMdFile() {
+ return new ReleasesMdFile(
+ path.join(DenoWorkspace.rootDirPath, "Releases.md"),
+ );
+ }
+
runFormatter() {
return this.#repo.runCommandWithOutput([
"deno",