Zum Inhalt springen

Plugin: generator-release-notes

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Builds concise release notes from the current release context and commit history. It is a good fit for provider plugins that publish release descriptions to Git forges.

Terminal window
go install github.com/SemRels/generator-release-notes@latest

Each plugin is a standalone Go binary. Keep it on your PATH or reference it with path: in .semrel.yaml. If you keep secrets in a .env file, load them with semrel --env-file .env release.

version: 1
plugins:
- name: generator-release-notes
path: generator-release-notes
args:
template: templates/release-notes.tmpl
max_commits: 50
include_body: false
NameRequiredDefaultDescription
SEMREL_PLUGIN_TEMPLATEnobuilt-in templatePath to a Go template used to render release notes.
SEMREL_PLUGIN_MAX_COMMITSno50Maximum number of commits to include.
SEMREL_PLUGIN_INCLUDE_BODYnofalseInclude the full commit body in the generated notes.
  • SEMREL_TAG_NAME
  • SEMREL_NEXT_VERSION
  • SEMREL_CURRENT_VERSION
  • SEMREL_BUMP
  • SEMREL_BRANCH
  • SEMREL_TAG_PREFIX
  • SEMREL_DRY_RUN

A generated release note can summarize v1.4.0, highlight the bump level, and list the top 50 commits selected for the release.