@activeprospect/cut-release
A tool that helps you make faster NPM releases
Last updated 2 years ago by cgrayson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @activeprospect/cut-release 
SYNC missed versions from official npm registry.

cut-release

A command line tool that helps you make faster NPM releases.

What it does

  • If run in a git repo, ensures that the local repo has no uncommitted changes, that the local branch is tracking a remote branch, that the remote branch is not ahead of the local branch, and that the git tag doesn't already exist
  • runs npm version with the version you specify. If run in a git repo, it will also create a version commit and tag, just like what npm version does.
  • pushes commits and tags to the remote repo
  • runs npm publish and tags the published module

Install

npm install -g @activeprospect/cut-release

Usage

This should be run from the master branch of your repo after you merge your feature branch.

To see usage documentation, run cut-release --help:

$ cut-release --help

Usage: cut-release [increment] [options]

Supported increments: <semver>, patch, minor, major, prepatch, preminor, premajor, prerelease

Options:
  -y, --yes                   Skip confirmation when present  [boolean] [required] [default: false]
  -t, --tag                   NPM tag for the release (i.e. latest, next)  [string]
  -p, --preid                 NPM prerelease identifier (i.e. rc, alpha, beta)  [string]
  -d, --dry-run               Print commands to be run, but don't run them  [boolean] [default: false]
  -m, --message               Version commit message - the %s variable will be replaced with the version  [string]
  --otp, --one-time-password  NPM one time password. Required if NPM 2FA is enabled  [string]
  -h, --help                  Show help  [boolean]
  -v, --version               Show version number  [boolean]

Thanks

This is a fork of https://github.com/bjoerge/cut-release. Special thanks to the original author.

Current Tags

  • 0.4.1                                ...           latest (2 years ago)

20 Versions

  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.17                                ...           3 years ago
  • 0.3.16                                ...           3 years ago
  • 0.3.15                                ...           3 years ago
  • 0.3.14                                ...           3 years ago
  • 0.3.13                                ...           3 years ago
  • 0.3.12                                ...           4 years ago
  • 0.3.11                                ...           5 years ago
  • 0.3.10                                ...           5 years ago
  • 0.3.9                                ...           5 years ago
  • 0.3.8                                ...           5 years ago
  • 0.3.7                                ...           5 years ago
  • 0.3.6                                ...           5 years ago
  • 0.3.5                                ...           5 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 20
Last Month 62
Dependencies (8)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |