cut-release

0.3.1 • Public • Published

cut-release

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

What it does:

  • 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 origin
  • runs npm publish

Install

npm install -g cut-release

Usage

Usage: cut-release [<newversion> | patch | minor | major | prepatch | preminor | premajor | prerelease]


  Options:

    --yes, -y       Don't confirm, just release right away. The new version must be supplied.

    --message, -m   If supplied, npm will use it as a commit message when
                    creating a version commit. If the message contains %s then
                    that will be replaced with the resulting version number

    --tag, -t       The NPM tag to use when publishing. Defaults to 'latest'. Use this option with
                    no value to choose from a list of existing tags.

    --preid, -p     The NPM prerelease identifier to be used when a prerelease version is specified.

    --dry-run, -d   Print the commands to be executed without actually running them.

Contributing

This is an OPEN Open Source Project. See contributing.md

Package Sidebar

Install

npm i cut-release

Weekly Downloads

73

Version

0.3.1

License

MIT

Last publish

Collaborators

  • bjoerge