@flexperto/semantic-release-changelog
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

semantic-release-changelog

A semantic release plugin for generating changelogs

Description

This plugin effectively wraps @semantic-release/changelog, and adds the option to only generate changelog on specifc branches.

Installation

npm i @flexperto/semantic-release-changelog

Usage

See upstream. The configuration options are extend by the branches property, which needs to be a RegExp if defined. If defined, the changelog will only be generated, when semantic-release is executed on a branch that matches the RegExp. Eg. this configuration will only generate a changelog on master and develop branches

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    [
      "@semantic-release/changelog",
      {
        "changelogFile": "docs/CHANGELOG.md",
        "branches": "^(master|develop)$"
      }
    ],
    [
      "@semantic-release/git",
      {
        "assets": ["docs/CHANGELOG.md"]
      }
    ]
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @flexperto/semantic-release-changelog

Weekly Downloads

0

Version

1.0.0

License

proprietary

Unpacked Size

6.92 kB

Total Files

6

Last publish

Collaborators

  • caspar.bauer-flexperto