GithubHelp home page GithubHelp logo

isabella232 / apm-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from semantic-release/apm

0.0 0.0 0.0 626 KB

:atom: semantic-release plugin to publish Atom packages with apm

License: MIT License

JavaScript 100.00%

apm-2's Introduction

@semantic-release/apm

semantic-release plugin to publish Atom packages with apm.

Build Statusnpm latest version npm next version npm beta version

Step Description
verifyConditions Verify the presence of the ATOM_ACCESS_TOKEN environment variable and the apm CLI.
prepare Update the package.json version with npm version.
publish Publish the Atom package.

Install

$ 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.

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@semantic-release/github",
    "@semantic-release/apm",
    "@semantic-release/git"
  ]
}

Configuration

Apm installation

The plugin uses the apm CLI which has to be installed in your CI environment and available in the PATH.

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 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.

Environment variables

Variable Description
ATOM_ACCESS_TOKEN The token used to authenticate with Atom registry.

apm-2's People

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.