semantic-release
Automated semver compliant package publishing
Last updated 6 years ago by semantic-release-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install semantic-release 
SYNC missed versions from official npm registry.

📦🚀 semantic-release

Fully automated version management and package publishing

Gitter Travis Codecov Greenkeeper semantic-release

Waffle.io

npm latest version npm next version

semantic-release automates the whole package release workflow including: determining the next version number, generating the release notes and publishing the package.

This removes the immediate connection between human emotions and version numbers, strictly following the Semantic Versioning specification.

Trust us, this will change your workflow for the better. – egghead.io

Highlights

How does it work?

Commit message format

semantic-release uses the commit messages to determine the type of changes in the codebase. Following formalized conventions for commit messages, semantic-release automatically determines the next semantic version number, generates a changelog and publishes the release.

By default semantic-release uses Angular Commit Message Conventions. The commit message format can be changed with the preset or config options of the @semantic-release/commit-analyzer and @semantic-release/release-notes-generator plugins.

Tools such as commitizen, commitlint or semantic-git-commit-cli can be used to help contributors and enforce valid commit messages.

Here is an example of the release type that will be done based on a commit messages:

Commit message Release type
fix(pencil): stop graphite breaking when too much pressure applied Patch Release
feat(pencil): add 'graphiteWidth' option Minor Feature Release
perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed.
The default graphite width of 10mm is always used for performance reasons.
Major Breaking Release

Automation with CI

semantic-release is meant to be executed on the CI environment after every successful build on the release branch. This way no human is directly involved in the release process and the releases are guaranteed to be unromantic and unsentimental.

Triggering a release

For each new commits added to the release branch (i.e. master) with git push or by merging a pull request or merging from another branch, a CI build is triggered and runs the semantic-release command to make a release if there are codebase changes since the last release that affect the package functionalities.

If you need more control over the timing of releases you have a couple of options:

  • Publish releases on a distribution channel (for example npm’s dist-tags). This way you can keep control over what your users end up using by default, and you can decide when to make an automatically released version available to the stable channel, and promote it.
  • Develop on a dev branch and merge it to the release branch (i.e. master) once you are ready to publish. semantic-release will run only on pushes to the release branch.

Release steps

After running the tests, the command semantic-release will execute the following steps:

Step Description
Verify Conditions Verify all the conditions to proceed with the release.
Get last release Obtain the commit corresponding to the last release by analyzing Git tags.
Analyze commits Determine the type of release based on the commits added since the last release.
Verify release Verify the release conformity.
Generate notes Generate release notes for the commits added since the last release.
Create Git tag Create a Git tag corresponding to the new release version.
Prepare Prepare the release.
Publish Publish the release.
Notify Notify of new releases or errors.

Documentation

Get help

Badge

Let people know that your package is published using semantic-release by including this badge in your readme.

semantic-release

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

Team

Stephan Bönnemann Rolf Erik Lekang Johannes Jörg Schmidt Gregor Martynus Pierre Vanduynslager Pierre Vanduynslager Christoph Witzko
Stephan Bönnemann Rolf Erik Lekang Johannes Jörg Schmidt Gregor Martynus Finn Pauls Pierre Vanduynslager Christoph Witzko

Kill all humans

Current Tags

  • 3.4.1                                ...           alpaca (10 years ago)
  • 4.3.5                                ...           badger (9 years ago)
  • 24.0.0-beta.2                                ...           beta (7 months ago)
  • 24.1.1                                ...           latest (3 months ago)
  • 19.0.2                                ...           next (3 years ago)

408 Versions

  • 24.1.1                                ...           3 months ago
  • 24.1.0                                ...           4 months ago
  • 24.0.0                                ...           7 months ago
  • 24.0.0-beta.2                                ...           7 months ago
  • 24.0.0-beta.1                                ...           7 months ago
  • 23.1.1                                ...           7 months ago
  • 23.1.0                                ...           7 months ago
  • 23.1.0-beta.1                                ...           8 months ago
  • 23.0.8                                ...           9 months ago
  • 23.0.7                                ...           9 months ago
  • 23.0.6                                ...           9 months ago
  • 23.0.5                                ...           9 months ago
  • 23.0.4                                ...           9 months ago
  • 23.0.3                                ...           9 months ago
  • 23.0.2                                ...           a year ago
  • 23.0.1                                ...           a year ago
  • 23.0.0                                ...           a year ago
  • 23.0.0-beta.5                                ...           a year ago
  • 23.0.0-beta.4                                ...           a year ago
  • 23.0.0-beta.3                                ...           a year ago
  • 23.0.0-beta.2                                ...           a year ago
  • 23.0.0-beta.1                                ...           a year ago
  • 22.0.12                                ...           a year ago
  • 22.0.11                                ...           a year ago
  • 22.0.10                                ...           a year ago
  • 22.0.9                                ...           a year ago
  • 22.0.8                                ...           a year ago
  • 22.0.7                                ...           a year ago
  • 22.0.6                                ...           a year ago
  • 22.0.5                                ...           a year ago
  • 22.0.4                                ...           a year ago
  • 22.0.3                                ...           a year ago
  • 22.0.2                                ...           a year ago
  • 22.0.1                                ...           a year ago
  • 22.0.0                                ...           a year ago
  • 22.0.0-beta.9                                ...           a year ago
  • 22.0.0-beta.8                                ...           a year ago
  • 22.0.0-beta.7                                ...           a year ago
  • 21.1.2                                ...           a year ago
  • 22.0.0-beta.6                                ...           a year ago
  • 22.0.0-beta.5                                ...           a year ago
  • 22.0.0-beta.4                                ...           a year ago
  • 22.0.0-beta.3                                ...           a year ago
  • 22.0.0-beta.2                                ...           a year ago
  • 22.0.0-beta.1                                ...           a year ago
  • 21.1.1                                ...           a year ago
  • 21.1.0                                ...           a year ago
  • 21.0.9                                ...           a year ago
  • 21.0.8                                ...           a year ago
  • 21.0.7                                ...           a year ago
  • 21.0.6                                ...           a year ago
  • 21.0.5                                ...           2 years ago
  • 21.0.4                                ...           2 years ago
  • 21.0.3                                ...           2 years ago
  • 21.0.3-beta.3                                ...           2 years ago
  • 21.0.3-beta.2                                ...           2 years ago
  • 21.0.3-beta.1                                ...           2 years ago
  • 21.0.2                                ...           2 years ago
  • 21.0.1                                ...           2 years ago
  • 21.0.0                                ...           2 years ago
  • 21.0.0-beta.6                                ...           2 years ago
  • 21.0.0-beta.5                                ...           2 years ago
  • 20.1.3                                ...           2 years ago
  • 20.1.2                                ...           2 years ago
  • 20.1.1                                ...           2 years ago
  • 21.0.0-beta.4                                ...           2 years ago
  • 21.0.0-beta.3                                ...           2 years ago
  • 21.0.0-beta.2                                ...           2 years ago
  • 20.1.0                                ...           2 years ago
  • 20.0.4                                ...           2 years ago
  • 20.0.3                                ...           2 years ago
  • 21.0.0-beta.1                                ...           2 years ago
  • 20.0.3-beta.1                                ...           2 years ago
  • 20.0.2                                ...           2 years ago
  • 20.0.1                                ...           2 years ago
  • 20.0.0                                ...           2 years ago
  • 20.0.0-beta.4                                ...           2 years ago
  • 20.0.0-beta.3                                ...           2 years ago
  • 20.0.0-beta.2                                ...           2 years ago
  • 20.0.0-beta.1                                ...           2 years ago
  • 19.0.5                                ...           2 years ago
  • 19.0.4                                ...           2 years ago
  • 19.0.3                                ...           3 years ago
  • 19.0.2                                ...           3 years ago
  • 19.0.1                                ...           3 years ago
  • 19.0.0                                ...           3 years ago
  • 19.0.0-beta.2                                ...           3 years ago
  • 19.0.0-beta.1                                ...           3 years ago
  • 18.0.1                                ...           3 years ago
  • 18.0.0                                ...           3 years ago
  • 18.0.0-beta.8                                ...           3 years ago
  • 18.0.0-beta.7                                ...           3 years ago
  • 18.0.0-beta.6                                ...           3 years ago
  • 18.0.0-beta.5                                ...           3 years ago
  • 18.0.0-beta.4                                ...           3 years ago
  • 18.0.0-beta.3                                ...           3 years ago
  • 18.0.0-beta.2                                ...           3 years ago
  • 17.4.7                                ...           3 years ago
  • 17.4.6                                ...           3 years ago
  • 18.0.0-beta.1                                ...           3 years ago
  • 17.4.5                                ...           3 years ago
  • 17.4.4                                ...           4 years ago
  • 17.4.3                                ...           4 years ago
  • 17.4.2                                ...           4 years ago
  • 17.4.1                                ...           4 years ago
  • 17.4.0                                ...           4 years ago
  • 17.3.9                                ...           4 years ago
  • 17.3.8                                ...           4 years ago
  • 17.3.7                                ...           4 years ago
  • 17.3.6                                ...           4 years ago
  • 17.3.5                                ...           4 years ago
  • 17.3.4                                ...           4 years ago
  • 17.3.3                                ...           4 years ago
  • 17.3.2                                ...           4 years ago
  • 17.3.1                                ...           4 years ago
  • 17.3.0                                ...           4 years ago
  • 17.2.4                                ...           4 years ago
  • 17.2.3                                ...           4 years ago
  • 17.2.2                                ...           4 years ago
  • 17.2.1                                ...           4 years ago
  • 17.2.0                                ...           4 years ago
  • 17.1.2                                ...           4 years ago
  • 17.1.1                                ...           4 years ago
  • 17.1.0                                ...           5 years ago
  • 17.0.8                                ...           5 years ago
  • 17.0.7                                ...           5 years ago
  • 17.0.6                                ...           5 years ago
  • 17.0.5                                ...           5 years ago
  • 17.0.4                                ...           5 years ago
  • 17.0.3                                ...           5 years ago
  • 17.0.2                                ...           5 years ago
  • 17.0.1                                ...           5 years ago
  • 17.0.0                                ...           5 years ago
  • 16.0.4                                ...           5 years ago
  • 16.0.3                                ...           5 years ago
  • 16.0.2                                ...           5 years ago
  • 16.0.1                                ...           5 years ago
  • 16.0.0                                ...           5 years ago
  • 16.0.0-beta.47                                ...           5 years ago
  • 15.14.0                                ...           5 years ago
  • 15.13.32                                ...           5 years ago
  • 16.0.0-beta.46                                ...           5 years ago
  • 16.0.0-beta.45                                ...           5 years ago
  • 16.0.0-beta.44                                ...           5 years ago
  • 16.0.0-beta.43                                ...           5 years ago
  • 16.0.0-beta.42                                ...           5 years ago
  • 16.0.0-beta.41                                ...           5 years ago
  • 16.0.0-beta.40                                ...           5 years ago
  • 16.0.0-beta.39                                ...           5 years ago
  • 16.0.0-beta.38                                ...           5 years ago
  • 16.0.0-beta.37                                ...           5 years ago
  • 16.0.0-beta.36                                ...           5 years ago
  • 16.0.0-beta.35                                ...           5 years ago
  • 16.0.0-beta.34                                ...           5 years ago
  • 16.0.0-beta.33                                ...           5 years ago
  • 16.0.0-beta.32                                ...           5 years ago
  • 15.13.31                                ...           5 years ago
  • 16.0.0-beta.31                                ...           5 years ago
  • 16.0.0-beta.30                                ...           5 years ago
  • 15.13.30                                ...           5 years ago
  • 16.0.0-beta.29                                ...           5 years ago
  • 15.13.29                                ...           5 years ago
  • 16.0.0-beta.28                                ...           5 years ago
  • 16.0.0-beta.27                                ...           5 years ago
  • 15.13.28                                ...           5 years ago
  • 15.13.27                                ...           5 years ago
  • 16.0.0-beta.26                                ...           5 years ago
  • 15.13.26                                ...           5 years ago
  • 16.0.0-beta.25                                ...           5 years ago
  • 15.13.25                                ...           5 years ago
  • 16.0.0-beta.24                                ...           5 years ago
  • 16.0.0-beta.23                                ...           5 years ago
  • 15.13.24                                ...           5 years ago
  • 15.13.23                                ...           5 years ago
  • 15.13.22                                ...           5 years ago
  • 15.13.21                                ...           5 years ago
  • 15.13.20                                ...           5 years ago
  • 15.13.19                                ...           5 years ago
  • 15.13.18                                ...           5 years ago
  • 15.13.17                                ...           5 years ago
  • 16.0.0-beta.22                                ...           6 years ago
  • 15.13.16                                ...           6 years ago
  • 16.0.0-beta.21                                ...           6 years ago
  • 16.0.0-beta.20                                ...           6 years ago
  • 15.13.15                                ...           6 years ago
  • 15.13.14                                ...           6 years ago
  • 16.0.0-beta.19                                ...           6 years ago
  • 15.13.13                                ...           6 years ago
  • 15.13.12                                ...           6 years ago
  • 15.13.11                                ...           6 years ago
  • 15.13.10                                ...           6 years ago
  • 15.13.9                                ...           6 years ago
  • 15.13.8                                ...           6 years ago
  • 15.13.7                                ...           6 years ago
  • 15.13.6                                ...           6 years ago
  • 15.13.5                                ...           6 years ago
  • 15.13.4                                ...           6 years ago
  • 16.0.0-beta.18                                ...           6 years ago
  • 16.0.0-beta.17                                ...           6 years ago
  • 15.13.3                                ...           6 years ago
  • 16.0.0-beta.16                                ...           6 years ago
  • 16.0.0-beta.15                                ...           6 years ago
  • 16.0.0-beta.14                                ...           6 years ago
  • 15.13.2                                ...           6 years ago
  • 16.0.0-beta.13                                ...           6 years ago
  • 16.0.0-beta.12                                ...           6 years ago
  • 16.0.0-beta.11                                ...           6 years ago
  • 16.0.0-beta.10                                ...           6 years ago
  • 15.13.1                                ...           6 years ago
  • 16.0.0-beta.9                                ...           6 years ago
  • 16.0.0-beta.8                                ...           6 years ago
  • 16.0.0-beta.7                                ...           6 years ago
  • 16.0.0-beta.6                                ...           6 years ago
  • 16.0.0-beta.5                                ...           6 years ago
  • 15.13.0                                ...           6 years ago
  • 16.0.0-beta.4                                ...           6 years ago
  • 16.0.0-beta.3                                ...           6 years ago
  • 15.12.5                                ...           6 years ago
  • 16.0.0-beta.2                                ...           6 years ago
  • 15.12.4                                ...           6 years ago
  • 16.0.0-beta.1                                ...           6 years ago
  • 15.12.3                                ...           6 years ago
  • 15.12.2                                ...           6 years ago
  • 15.12.1                                ...           6 years ago
  • 15.12.0                                ...           6 years ago
  • 15.11.0                                ...           6 years ago
  • 15.10.8                                ...           6 years ago
  • 15.10.7                                ...           6 years ago
  • 15.10.6                                ...           6 years ago
  • 15.10.5                                ...           6 years ago
  • 15.10.4                                ...           6 years ago
  • 15.10.3                                ...           6 years ago
  • 15.10.2                                ...           6 years ago
  • 15.10.1                                ...           6 years ago
  • 15.10.0                                ...           6 years ago
  • 15.9.17                                ...           6 years ago
  • 15.9.16                                ...           6 years ago
  • 15.9.15                                ...           6 years ago
  • 15.9.14                                ...           6 years ago
  • 15.9.13                                ...           6 years ago
  • 15.9.12                                ...           6 years ago
  • 15.9.11                                ...           6 years ago
  • 15.9.10                                ...           6 years ago
  • 15.9.9                                ...           6 years ago
  • 15.9.8                                ...           6 years ago
  • 15.9.7                                ...           6 years ago
  • 15.9.6                                ...           6 years ago
  • 15.9.5                                ...           6 years ago
  • 15.9.4                                ...           6 years ago
  • 15.9.3                                ...           6 years ago
  • 15.9.2                                ...           6 years ago
  • 15.9.1                                ...           6 years ago
  • 15.9.0                                ...           6 years ago
  • 15.8.1                                ...           6 years ago
  • 15.8.0                                ...           6 years ago
  • 15.7.2                                ...           6 years ago
  • 15.7.1                                ...           6 years ago
  • 15.7.0                                ...           6 years ago
  • 15.6.6                                ...           6 years ago
  • 15.6.5                                ...           6 years ago
  • 15.6.4                                ...           6 years ago
  • 15.6.3                                ...           6 years ago
  • 15.6.2                                ...           6 years ago
  • 15.6.1                                ...           6 years ago
  • 15.6.0                                ...           7 years ago
  • 15.5.5                                ...           7 years ago
  • 15.5.4                                ...           7 years ago
  • 15.5.3                                ...           7 years ago
  • 15.5.2                                ...           7 years ago
  • 15.5.1                                ...           7 years ago
  • 15.5.0                                ...           7 years ago
  • 15.4.4                                ...           7 years ago
  • 15.4.3                                ...           7 years ago
  • 15.4.2                                ...           7 years ago
  • 15.4.1                                ...           7 years ago
  • 15.4.0                                ...           7 years ago
  • 15.3.2                                ...           7 years ago
  • 15.3.1                                ...           7 years ago
  • 15.3.0                                ...           7 years ago
  • 15.2.0                                ...           7 years ago
  • 15.1.11                                ...           7 years ago
  • 15.1.10                                ...           7 years ago
  • 15.1.9                                ...           7 years ago
  • 15.1.8                                ...           7 years ago
  • 15.1.7                                ...           7 years ago
  • 15.1.6                                ...           7 years ago
  • 15.1.5                                ...           7 years ago
  • 15.1.4                                ...           7 years ago
  • 15.1.3                                ...           7 years ago
  • 15.1.2                                ...           7 years ago
  • 15.1.1                                ...           7 years ago
  • 15.1.0                                ...           7 years ago
  • 15.0.4                                ...           7 years ago
  • 15.0.3                                ...           7 years ago
  • 15.0.2                                ...           7 years ago
  • 15.0.1                                ...           7 years ago
  • 15.0.0                                ...           7 years ago
  • 14.0.4                                ...           7 years ago
  • 14.0.3                                ...           7 years ago
  • 14.0.2                                ...           7 years ago
  • 14.0.1                                ...           7 years ago
  • 14.0.0                                ...           7 years ago
  • 13.4.1                                ...           7 years ago
  • 13.4.0 [deprecated]           ...           7 years ago
  • 13.3.1 [deprecated]           ...           7 years ago
  • 13.3.0 [deprecated]           ...           7 years ago
  • 13.2.0                                ...           7 years ago
  • 13.1.5                                ...           7 years ago
  • 13.1.4                                ...           7 years ago
  • 13.1.3                                ...           7 years ago
  • 13.1.2                                ...           7 years ago
  • 13.1.1                                ...           7 years ago
  • 13.1.0                                ...           7 years ago
  • 13.0.2                                ...           7 years ago
  • 13.0.1                                ...           7 years ago
  • 12.4.1                                ...           7 years ago
  • 13.0.0                                ...           7 years ago
  • 12.4.0                                ...           7 years ago
  • 12.3.0                                ...           7 years ago
  • 12.2.5                                ...           7 years ago
  • 12.2.4                                ...           7 years ago
  • 12.2.3                                ...           7 years ago
  • 12.2.2                                ...           7 years ago
  • 12.2.1                                ...           7 years ago
  • 12.2.0                                ...           7 years ago
  • 12.1.1                                ...           7 years ago
  • 12.1.0                                ...           7 years ago
  • 12.0.0                                ...           7 years ago
  • 11.2.0                                ...           7 years ago
  • 11.1.0                                ...           7 years ago
  • 11.0.3                                ...           7 years ago
  • 11.0.2                                ...           7 years ago
  • 11.0.1                                ...           7 years ago
  • 11.0.0                                ...           7 years ago
  • 10.0.1                                ...           7 years ago
  • 10.0.0                                ...           7 years ago
  • 9.1.1                                ...           7 years ago
  • 9.1.0                                ...           7 years ago
  • 9.0.3                                ...           7 years ago
  • 9.0.2                                ...           7 years ago
  • 9.0.1                                ...           7 years ago
  • 9.0.0                                ...           7 years ago
  • 8.2.3                                ...           7 years ago
  • 8.2.2                                ...           7 years ago
  • 8.2.1                                ...           7 years ago
  • 8.2.0                                ...           7 years ago
  • 8.1.2                                ...           7 years ago
  • 8.1.1                                ...           7 years ago
  • 8.1.0                                ...           7 years ago
  • 8.0.4                                ...           7 years ago
  • 8.0.3                                ...           7 years ago
  • 8.0.2                                ...           7 years ago
  • 8.0.1                                ...           7 years ago
  • 8.0.0                                ...           7 years ago
  • 7.0.2                                ...           7 years ago
  • 0.0.0-placeholder                                ...           7 years ago
  • 7.0.1                                ...           7 years ago
  • 7.0.0                                ...           7 years ago
  • 6.3.6                                ...           8 years ago
  • 6.3.5                                ...           8 years ago
  • 6.3.4                                ...           8 years ago
  • 6.3.3                                ...           8 years ago
  • 6.3.2                                ...           8 years ago
  • 6.3.1                                ...           8 years ago
  • 6.3.0                                ...           9 years ago
  • 6.2.2                                ...           9 years ago
  • 6.2.1                                ...           9 years ago
  • 6.2.0                                ...           9 years ago
  • 6.1.0                                ...           9 years ago
  • 6.0.3                                ...           9 years ago
  • 4.3.5                                ...           9 years ago
  • 6.0.2                                ...           9 years ago
  • 4.3.4                                ...           9 years ago
  • 6.0.1                                ...           9 years ago
  • 6.0.0                                ...           9 years ago
  • 4.3.3                                ...           9 years ago
  • 4.3.1                                ...           9 years ago
  • 5.0.1                                ...           9 years ago
  • 4.3.0                                ...           9 years ago
  • 5.0.0                                ...           9 years ago
  • 4.2.1                                ...           9 years ago
  • 4.2.0                                ...           9 years ago
  • 4.1.1                                ...           9 years ago
  • 4.1.0                                ...           9 years ago
  • 4.0.3                                ...           9 years ago
  • 4.0.2                                ...           9 years ago
  • 4.0.1                                ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 3.4.1                                ...           10 years ago
  • 3.4.0                                ...           10 years ago
  • 3.3.2                                ...           10 years ago
  • 3.3.1                                ...           10 years ago
  • 3.3.0                                ...           10 years ago
  • 3.2.2                                ...           10 years ago
  • 3.2.1                                ...           10 years ago
  • 3.2.0                                ...           10 years ago
  • 3.1.0                                ...           10 years ago
  • 3.0.5                                ...           10 years ago
  • 3.0.4                                ...           10 years ago
  • 3.0.3                                ...           10 years ago
  • 3.0.2                                ...           10 years ago
  • 3.0.1                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.2.1                                ...           10 years ago
  • 1.2.0                                ...           10 years ago
  • 1.1.1                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Downloads
Total 3
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (27)
Dev Dependencies (20)

© 2010 - cnpmjs.org x YWFE | Home | YWFE