gulp-increment-version

1.0.15 • Public • Published

Usage

var increment = require('gulp-increment-version');

gulp.task('increment-version', increment.task);

What it does

  1. Increment version in package.json
  2. Increment tag in .drone.yml
  3. Increment git tag and push it to origin

Configuration

increment.config({

    'type': patch | minor | major | prerelease (default = patch),

    'use-v-prefix': true | false (default = true),

    'push-tag': true | false (default = true),

    'wait-before-push': <time before pushing tag / ms> (default = 1000)

});

TODO

  1. Automatise the distribution flow entirely:
    • Discard all changes? (app.constant.js etc?) or Stash all changes!
    • Stage everything and commit
    • Check out dev
    • Push local dev to remote dev
    • Merge dev into master
    • Push local master to remote master

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-increment-version

Weekly Downloads

19

Version

1.0.15

License

ISC

Unpacked Size

5.77 kB

Total Files

3

Last publish

Collaborators

  • nadeemramsing