Skip to content

Gerrit release notes generator plugin for semantic-release

Notifications You must be signed in to change notification settings

pascalMN/semantic-release-gerrit

Repository files navigation

semantic-release-gerrit

Customizable plugin for semantic-release to support projects in the Gerrit repositories

Build Status npm latest version semantic-release

generateNotes

Generates notes using conventional-changelog with ability to generate Gerrit review commit URL's. Also in notes header there is option to add Gerrit tag URL if there is gitiles plugin installed.

Options

"generateNotes": [
  {
    "path": "semantic-release-gerrit",
    "gerritUrl": "http://localhost:8080",
    "issuesUrl": "http://jira.com/browse"
  }
]
Option Description Default
gerritUrl URL to Gerrit dashboard If not specified dashboard URL will be generated from repository URL
issuesUrl Optional URL to issues browser -

Usage

The plugin is used by semantic-release in generateNotes stage. Thanks for this commit URL's in notes indicates reviews in Gerrit dashboard.