mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
chore(ci): automatically include releases notes in release draft (#14179)
This commit is contained in:
parent
94885bc293
commit
c0ee027d34
5 changed files with 41 additions and 33 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue