Zum Inhalt springen

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.

Terminal-Fenster
semrel plugin install @semrel/generator-release-notes
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 # same
NameRequiredDefaultDescription
SEMREL_PLUGIN_TEMPLATEnobuilt-inPath to a custom template.
SEMREL_PLUGIN_MAX_COMMITSno50Maximum commits to include.
SEMREL_PLUGIN_INCLUDE_BODYnofalseInclude full commit bodies.