Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Release Policies

Fokke Zandbergen edited this page Sep 30, 2016 · 1 revision

Pre-releases

If you'd like to do a pre-release this is how it works.

  1. Bump package version and add git tag:

    • For the first pre-release of a version:

       npm version pre[patch|minor|major]
    • For consecutive pre-releases of the same version:

       npm version prerelease
  2. Publish to a pre-release stream (aka npm tag), e.g. refactor

    npm publish --tag refactor
  3. Push commits, including tags:

    npm run push

Releases

  1. Bump package version and add git tag:

    npm version [patch|minor|major]

    NOTE: If the current version is a pre-release all of the above will simply remove the pre-release identifier. For example, if the current version is 2.0.0-3 then npm version patch will result in 2.0.0 and not 2.0.1.

  2. Publish package:

    npm publish
  3. Push commits, including tags:

    npm run push
Clone this wiki locally