-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add generated release notes (#33)
- Loading branch information
Showing
2 changed files
with
35 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { generateChangeLog } from "https://raw.githubusercontent.com/dprint/automation/0.9.0/changelog.ts"; | ||
|
||
const version = Deno.args[0]; | ||
const checksum = Deno.args[1]; | ||
const changelog = await generateChangeLog({ | ||
versionTo: version, | ||
}); | ||
const text = `## Changes | ||
${changelog} | ||
## Install | ||
Dependencies: | ||
- Install dprint's CLI >= 0.40.0 | ||
In a dprint configuration file: | ||
1. Specify the plugin url and checksum in the \`"plugins"\` array or run \`dprint config add exec\`: | ||
\`\`\`jsonc | ||
{ | ||
// etc... | ||
"plugins": [ | ||
"https://plugins.dprint.dev/exec-${version}.json@${checksum}" | ||
] | ||
} | ||
\`\`\` | ||
2. Follow the configuration setup instructions found at https://github.com/dprint/dprint-plugin-exec#configuration | ||
`; | ||
|
||
console.log(text); |