Giter Site home page Giter Site logo

apm-config's Introduction

@semantic-release/apm-config

Semantic-release shareable config for releasing atom packages with apm.

Travis Codecov Greenkeeper badge

Usage

Local installation

$ npm install --save-dev semantic-release @semantic-release/apm-config

In package.json:

{
  "release": {
    "extends": "@semantic-release/apm-config"
  }
}

Global installation

$ npm install -g semantic-release @semantic-release/apm-config
$ semantic-release -e @semantic-release/apm-config

Configuration

Atom installation

The apm command line has to be installed in your CI environment and available in the PATH.

See the Atom Package CI Scripts documentation.

Note: If you are running multiple versions of Atom in CI (Stable + 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 buildLeaderId option.

Atom authentication

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.

GitHub authentication

The GitHub authentication configuration is required and can be set via environment variables.

See GitHub authentication.

Environment variables

Variable Description
GH_TOKEN or GITHUB_TOKEN Required. The token used to authenticate with GitHub repository.
ATOM_ACCESS_TOKEN Required. The token used to authenticate with Atom registry.

Additional options

This shareable config uses the @semantic-release/git, @semantic-release/npm, @semantic-release/exec, @semantic-release/changelog and @semantic-release/github plugins. See the documentation of each plugins for additional options.

Options can be set in the Semantic-release configuration.

For example to change the commit message:

{
  "release": {
    "extends": "@semantic-release/apm-config",
    "message": "chore: prepare %s release ${nextRelease.version} [skip ci]"
  }
}

apm-config's People

Contributors

arcanemagus avatar greenkeeper[bot] avatar pvdlg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.