||Verify the presence of the
||Publish the Atom package.|
$ npm install @semantic-release/apm @semantic-release/git -D
Note: apm require to have the version in
package.json pushed to the repository so the
@semantic-release/git plugin is required.
The plugin can be configured in the semantic-release configuration file:
The plugin uses the
apm CLI which has to be installed in your CI environment and available in the
See the Atom Package CI Scripts documentation to install
apm in your CI.
Note: If you are running multiple versions of Atom in CI (for example, Stable and Beta), ensure that the
semantic-release command is run on a build using the Stable channel of Atom as the Beta channel builds only provide
apm-beta. If you are using travis-deploy-once this can be achieved by setting the Stable channel build to be the last build to run, or by using the
The Atom authentication configuration is required and can be set via environment variables.
Visit your account page on Atom.io to obtain your authentication token. The token has to be made available in your CI environment via the
ATOM_ACCESS_TOKEN environment variable.
||The token used to authenticate with Atom registry.|