In order to disable the @semantic-release/github plugin for the success and fail hook, the corresponding options have to be set to false in the semantic-release configuration:
Users who do not use the @semantic-release/github plugin, should disable it in the success and fail by setting the corresponding options to false or to alternative plugin providing success and fail hooks.
Migration Guide
For non GitHub users
If you do no want the success and fail notification on GitHub or if you are not using GitHub you need to disable the success and fail plugin hooks by adding the following to your semantic-release configuration:
Add the following to your semantic-release configuration:
GitHub users do not need to change anything. You will get comments on PR and issues when a release that resolved them is publish as well as an issue when a problem happen that prevent to perform a release.
The --repositoryUrl CLI options is replaced by --repository-url
Remove the getLastRelease plugin type
The getLastRelease plugins will not be called anymore.
Git repository authentication is now mandatory
The Git authentication is now mandatory and must be set via GH_TOKEN, GITHUB_TOKEN, GL_TOKEN, GITLAB_TOKEN or GIT_CREDENTIALS as described in CI configuration.
Migration Guide
Make sure the commit associated with the last release is tagged with v<last_release_version>
This will already be the case for all semantic-release users using the GitHub (default), Git or GitLab plugins or for any release done manually with npm publish.
Make sure the Git authentication is configured
This will already be the case for all semantic-release users using the GitHub (default), Git or GitLab plugins. See CI configuration.
Modify your .travis.yml to use travis-deploy-once.
Replace:
after_success:
- npm run semantic-release
by:
Replace
after_success:
- npm run travis-deploy-once "npm run semantic-release"
For Yarn users or any project with a yarn.lock file, adds the --ignore-engines option to yarn install.
If the install is not defined you have to define it with:
pkg and env are not passed to plugin anymore.
Plugins relying on a package.json must verify the presence of a valid package.json and load it.
Plugins can use process.env instead of env.
Each plugin is expected to return an async function or a Promise returning function. The callback parameter is not passed to plugins anymore.
MIGRATION GUIDE
If you are using a third-party plugin, please verify its documentation and repository to make sure it has been updated to work with semantic-release version 11.0.0.
Extract npm and github publish to plugins (d548edc)
BREAKING CHANGES
githubToken, githubUrl and githubApiPathPrefix have to be set at the github plugin level. They can be set via GH_TOKEN, GH_URL and GH_PREFIX environment variables.
the npm parameter is no longer passed to plugins. We recommend using npm-conf to read out information from the .npmrc file.
This Pull Request updates devDependency
semantic-release
(source) from^6.3.2
to^15.0.0
Note: This PR was created on a configured schedule ("before 3am on Monday") and will not receive updates outside those times.
Release Notes
v15.9.14
Compare Source
Bug Fixes
env
andcwd
toenv-ci
(540d4fa)v15.9.13
Compare Source
Bug Fixes
v15.9.12
Compare Source
Bug Fixes
fail
/success
plugin params (dffe148)v15.9.11
Compare Source
Bug Fixes
v15.9.10
Compare Source
Bug Fixes
v15.9.9
Compare Source
Bug Fixes
v15.9.8
Compare Source
Bug Fixes
v15.9.7
Compare Source
Reverts
repositoryUrl
to https" (93377eb)v15.9.6
Compare Source
Bug Fixes
repositoryUrl
to https (b895231)v15.9.5
Compare Source
Bug Fixes
stdout
/stderr
passed to pugins (63d422e)v15.9.4
Compare Source
Bug Fixes
v15.9.3
Compare Source
Bug Fixes
v15.9.2
Compare Source
Bug Fixes
cli.js
(43d0646)v15.9.1
Compare Source
Bug Fixes
EPLUGINCONF
error message (d8c84a0)v15.9.0
Compare Source
Features
signale
and allow to customizestdin
andstdout
(0626d57)lastRelease
,commits
,nextRelease
,releases
from JS API (417779e)v15.8.1
Compare Source
Bug Fixes
v15.8.0
Compare Source
Features
cwd
andenv
context to plugins (a94e08d)v15.7.2
Compare Source
Bug Fixes
v15.7.1
Compare Source
Bug Fixes
generateNotes
object config (d8e59cc)v15.7.0
Compare Source
Bug Fixes
path
to plugin config defined as a Function or an Array (f93eeb7)Features
generateNotes
plugins (5989989)v15.6.6
Compare Source
Bug Fixes
v15.6.5
Compare Source
Bug Fixes
v15.6.4
Compare Source
Bug Fixes
v15.6.3
Compare Source
Bug Fixes
v15.6.2
Compare Source
Bug Fixes
git fetch
command (4abda31)v15.6.1
Compare Source
Bug Fixes
v15.6.0
Compare Source
Features
v15.5.5
Compare Source
Bug Fixes
v15.5.4
Compare Source
Bug Fixes
git ls-remote
to verify if the remote branch is ahead (2b6378f)v15.5.3
Compare Source
Bug Fixes
v15.5.2
Compare Source
Bug Fixes
v15.5.1
Compare Source
Bug Fixes
v15.5.0
Compare Source
Features
v15.4.4
Compare Source
Bug Fixes
v15.4.3
Compare Source
Bug Fixes
v15.4.2
Compare Source
Bug Fixes
v15.4.1
Compare Source
Bug Fixes
git rev-parse origin/${branch}
to verify origin head (d7081fa)v15.4.0
Compare Source
Features
v15.3.2
Compare Source
Bug Fixes
git merge-base
error code handling (4352144)v15.3.1
Compare Source
Bug Fixes
v15.3.0
Compare Source
Features
git
error message when authentication verification fails (cd9f2bd)v15.2.0
Compare Source
Features
v15.1.11
Compare Source
Bug Fixes
v15.1.10
Compare Source
Bug Fixes
v15.1.9
Compare Source
Bug Fixes
v15.1.8
Compare Source
Bug Fixes
v15.1.7
Compare Source
Bug Fixes
.git
torepositoryUrl
only if it's present in the configured URL (cb1f80c)v15.1.6
Compare Source
Bug Fixes
tagFormat
from the begining of the string (31ad231)v15.1.5
Compare Source
Bug Fixes
v15.1.4
Compare Source
Bug Fixes
v15.1.3
Compare Source
Bug Fixes
execa
timeout (3c46455)v15.1.2
Compare Source
Bug Fixes
v15.1.1
Compare Source
Bug Fixes
v15.1.0
Compare Source
Features
repositoryUrl
(5f1d530)v15.0.4
Compare Source
Bug Fixes
v15.0.3
Compare Source
Bug Fixes
git+https
URL in package.json tohttps
(b0b4fc8)v15.0.2
Compare Source
Bug Fixes
getLastRelease
(e4618a2)v15.0.1
Compare Source
Bug Fixes
console.log
(e5a73d8)v15.0.0
Compare Source
Features
prepare
plugin hook (c2beb64)BREAKING CHANGES
publish
plugin hook is not supported anymore and now must be done in theprepare
hookPlugins with a
publish
hook that makes a commit or create a file that can be committed must use theprepare
hook.v14.0.4
Compare Source
Bug Fixes
v14.0.3
Compare Source
Bug Fixes
v14.0.2
Compare Source
Bug Fixes
v14.0.1
Compare Source
Bug Fixes
v14.0.0
Compare Source
Features
success
andfail
hooks (9788fca)BREAKING CHANGES
success
andfail
hooks are now enabled by defaultIn order to disable the
@semantic-release/github
plugin for thesuccess
andfail
hook, the corresponding options have to be set tofalse
in the semantic-release configuration:Users who do not use the
@semantic-release/github
plugin, should disable it in thesuccess
andfail
by setting the corresponding options tofalse
or to alternative plugin providingsuccess
andfail
hooks.Migration Guide
For non GitHub users
If you do no want the
success
andfail
notification on GitHub or if you are not using GitHub you need to disable thesuccess
andfail
plugin hooks by adding the following to your semantic-release configuration:Add the following to your semantic-release configuration:
For GitHub users
GitHub users do not need to change anything. You will get comments on PR and issues when a release that resolved them is publish as well as an issue when a problem happen that prevent to perform a release.
v13.4.1
Compare Source
Bug Fixes
v13.2.0
Compare Source
Features
v13.1.5
Compare Source
Bug Fixes
v13.1.4
Compare Source
Bug Fixes
v13.1.3
Compare Source
Bug Fixes
git+https
url tohttps
(cbf5785)v13.1.2
Compare Source
Bug Fixes
v13.1.1
Compare Source
Bug Fixes
v13.1.0
Compare Source
Bug Fixes
Features
tagFormat
option to customize Git tag name (39536fa)v13.0.2
Compare Source
Bug Fixes
GIT_CREDENTIALS
for gtit credentials (467635b)v13.0.1
Compare Source
Bug Fixes
Buffer
andundefined
(8b3605d)v13.0.0
Compare Source
Bug Fixes
--repositoryUrl
CLI option to--repository-url
(cb36dd4)Features
BREAKING CHANGES
--repositoryUrl
CLI options is replaced by--repository-url
getLastRelease
plugin typeThe
getLastRelease
plugins will not be called anymore.The Git authentication is now mandatory and must be set via
GH_TOKEN
,GITHUB_TOKEN
,GL_TOKEN
,GITLAB_TOKEN
orGIT_CREDENTIALS
as described in CI configuration.Migration Guide
Make sure the commit associated with the last release is tagged with
v<last_release_version>
This will already be the case for all semantic-release users using the GitHub (default), Git or GitLab plugins or for any release done manually with
npm publish
.Make sure the Git authentication is configured
This will already be the case for all semantic-release users using the GitHub (default), Git or GitLab plugins. See CI configuration.
v12.4.1
Compare Source
Bug Fixes
Buffer
andundefined
v12.4.0
Compare Source
Features
v12.3.0
Compare Source
Features
v12.2.5
Compare Source
Bug Fixes
--no-ci
arg parsing (0d2d1f2)v12.2.4
Compare Source
Bug Fixes
v12.2.3
Compare Source
Bug Fixes
v12.2.2
Compare Source
Bug Fixes
v12.2.1
Compare Source
Bug Fixes
v12.2.0
Compare Source
Features
v12.1.1
Compare Source
Bug Fixes
v12.1.0
Compare Source
Features
v12.0.0
Compare Source
Features
BREAKING CHANGES
semantic-release
doesn't make sure it runs only on one Travis job anymore.The CI configuration has to be done such that
semantic-release
This can easily be done with travis-deploy-once.
For Yarn users semantic-release has to be installed with the option --ignore-engines when running on Node <= 8.
See Can I use semantic-release with Yarn? for more details.
Migration Guide
Install
travis-deploy-once
:Add the
travis-deploy-once
script in yourpackage.json
:Modify your
.travis.yml
to usetravis-deploy-once
.Replace:
by:
Replace
For Yarn users or any project with a
yarn.lock
file, adds the--ignore-engines
option toyarn install
.If the
install
is not defined you have to define it with:v11.2.0
Compare Source
Features
v11.1.0
Compare Source
Features
v11.0.3
Compare Source
Bug Fixes
v11.0.2
Compare Source
Bug Fixes
v11.0.1
Compare Source
11.0.1 (2017-11-29)
Bug Fixes
undefined
values for thegetLastRelease
andgenerateNotes
plugins (d7b323d)name
from log as it's not an existing option anymore (fcb832b)v11.0.0
Compare Source
11.0.0 (2017-11-25)
Features
BREAKING CHANGES
pkg
andenv
are not passed to plugin anymore.Plugins relying on a
package.json
must verify the presence of a validpackage.json
and load it.Plugins can use
process.env
instead ofenv
.MIGRATION GUIDE
If you are using a third-party plugin, please verify its documentation and repository to make sure it has been updated to work with
semantic-release
version11.0.0
.v10.0.1
Compare Source
Bug Fixes
v10.0.0
Compare Source
Features
BREAKING CHANGES
githubToken
,githubUrl
andgithubApiPathPrefix
have to be set at the github plugin level. They can be set viaGH_TOKEN
,GH_URL
andGH_PREFIX
environment variables.npm
parameter is no longer passed to plugins. We recommend using npm-conf to read out information from the.npmrc
file.v9.1.1
Compare Source
9.1.1