Plugin: generator-release-notes
Generates concise, formatted release notes from the release context and commit history.
Running as a generator phase plugin, its stdout overrides the default SEMREL_CHANGELOG value
that provider and hook plugins receive — useful for creating a polished release description
on GitHub Releases, GitLab Releases, or Slack/Teams notifications.
Installation
Abschnitt betitelt „Installation“semrel plugin install @semrel/generator-release-notesConfiguration
Abschnitt betitelt „Configuration“plugins: - uses: @semrel/generator-release-notes phase: generator # stdout captured by semrel → becomes SEMREL_CHANGELOG args: template: .semrel/templates/release-notes.tmpl # optional max_commits: "50" include_body: "false" - uses: @semrel/gitlab # receives the formatted notes as SEMREL_CHANGELOG - uses: @semrel/slack # sameEnvironment variables
Abschnitt betitelt „Environment variables“| Name | Required | Default | Description |
|---|---|---|---|
SEMREL_PLUGIN_TEMPLATE | no | built-in | Path to a custom template. |
SEMREL_PLUGIN_MAX_COMMITS | no | 50 | Maximum commits to include. |
SEMREL_PLUGIN_INCLUDE_BODY | no | false | Include full commit bodies. |