GithubHelp home page GithubHelp logo

npm-autorelease's Introduction

npm-autorelease

Based on npm-release by Tom Ashworth, this script will:

  • Automatically bump the version in package.json
  • Commit 'chore(release): Release vX.X.X-X'
  • Tag your release
  • Push the commit & tag (git push && git push --tags)
  • Release to npm (with npm publish)

Versioning is based on commit messages since the last release. Commits should be using the AngularJS Commit Guidelines, as this package will use the type of the commits to decide the next version.

Install

npm install -g npm-autorelease

Usage

You must use npm-autorelease in a folder with a package.json and a remote to push to.

You may also set the following environment variables (useful for CI Pipeline tools)

  • GIT_USER - A user to push the release and tags under
  • GIT_PASS - A token or password for the user

Options

  • --dry-run - Output only the recommended release type for the current repo without applying any commits, tags or releases to your project.

License

MIT

npm-autorelease's People

Contributors

johnnyxh avatar tgvashworth avatar perguth avatar jim-moody avatar hemanth 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.