1.2.0 • Published 9 months ago

@lets-release/changelog v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@lets-release/changelog

lets-release plugin for creating or updating a changelog file.

StepDescription
verifyConditionsVerify the changelogFile and changelogTitle options configuration.
prepareCreate or update a changelog file in the local project directory using the changelog content created in the generateNotes step.

Usage

The plugin can be configured in the lets-release configuration file:

{
  "releaseCommit": {
    "assets": ["docs/CHANGELOG.md"]
  },
  "plugins": [
    "@lets-release/commit-analyzer",
    "@lets-release/release-notes-generator",
    [
      "@lets-release/changelog",
      {
        "changelogFile": "docs/CHANGELOG.md"
      }
    ],
  ]
}

With this example, for each release, a docs/CHANGELOG.md will be created or updated.

Configuration

Options

OptionsDescriptionDefault
changelogFileFile path of the changelog.CHANGELOG.md
changelogTitleTitle of the changelog file (first line of the file).-

Examples

When used with the @lets-release/npm plugins, the @lets-release/changelog plugin must be called before the @lets-release/npm plugin in order to update the changelog file, so the @lets-release/npm plugin can include it in the release.

{
  "plugins": [
    "@lets-release/commit-analyzer",
    "@lets-release/release-notes-generator",
    "@lets-release/changelog",
    "@lets-release/npm",
  ]
}
1.2.0

9 months ago

1.1.0

10 months ago

1.0.1

11 months ago

1.0.0

11 months ago