semantic-release
only after all tests succeededsemantic-release
command must be executed only after all the tests in the CI build pass. If the build runs multiple jobs (for example to test on multiple Operating Systems or Node versions) the CI has to be configured to guarantee that the semantic-release
command is executed only after all jobs are successful. Here is a few example of the CI services that can be used to achieve this:GH_TOKEN
or GITHUB_TOKEN
GL_TOKEN
or GITLAB_TOKEN
BB_TOKEN
or BITBUCKET_TOKEN
BB_TOKEN_BASIC_AUTH
or BITBUCKET_TOKEN_BASIC_AUTH
user:token
has to be the value of this env.GIT_CREDENTIALS
<username>:<password>
. The username and password must each be individually URL encoded, not the :
separating them.NPM_TOKEN
auth-only
level of npm two-factor authentication is supported.GH_TOKEN
GH_TOKEN
, GITHUB_TOKEN
, GL_TOKEN
and GITLAB_TOKEN
can be used for both the Git authentication and the API authentication required by @semantic-release/github and @semantic-release/gitlab.