npm semantic-release 9.0.0
v9.0.0

latest releases: 25.0.2, 25.0.1, 25.0.1-beta.3...
8 years ago

9.0.0 (2017-10-28)

Features

  • Refactor CLI to run with one command, improve logs, modularize, add tests (e2a8a5c)

BREAKING CHANGES

  • Semantic-Release must now be executed with semantic-release instead of semantic-release pre && npm publish && semantic-release post.
  • The semantic-release command now returns with exit code 0 on expected exception (no release has to be done, running on a PR, gitHead not found, other CI job failed etc...). It only returns with 1 when there is an unexpected error (code error in a plugin, plugin not found, git command cannot be run etc..).
  • Calling the semantic-release command with unexpected argument(s) now exit with 1 and print an help message.
  • Semantic-Release does not rely on npmlog anymore and the log level cannot be configured. Debug logs can be activated with CLI option --debug or with environment variable DEBUG=semantic-release:*
  • The CLI options --debug doesn't enable the dry-run mode anymore but activate the debugs. The dry run mode is now set with the CLI command --dry-run or -d.
    semantic-release pre && npm shrinkwrap && semantic-release post
  • If you depend on npm shrinkwrap, you have to run it before semantic-release now. You can set "presemantic-release": "npm shrinkwrap" in your package.json file

MIGRATION GUIDE

Update the semantic-release in your package.json from:

"scripts": {
   "semantic-release": "semantic-release pre && npm publish && semantic-release post"
}

To:

"scripts": {
   "semantic-release": "semantic-release"
}

Don't miss a new semantic-release release

NewReleases is sending notifications on new releases.