2022-07-19 16:35:58 -04:00
|
|
|
#!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json
|
2023-01-02 16:00:42 -05:00
|
|
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
2022-07-19 16:35:58 -04:00
|
|
|
import { $ } from "./deps.ts";
|
2022-04-02 11:25:12 -04:00
|
|
|
import { DenoWorkspace } from "./deno_workspace.ts";
|
|
|
|
|
|
|
|
const workspace = await DenoWorkspace.load();
|
|
|
|
|
|
|
|
// create a release notes file for the GH release draft
|
2023-04-02 13:53:52 -04:00
|
|
|
$.path(DenoWorkspace.rootDirPath)
|
|
|
|
.join("./target/release/release-notes.md")
|
|
|
|
.writeTextSync(workspace.getReleasesMdFile().getLatestReleaseText().fullText);
|