vojtajina / grunt-bump

Grunt.js plugin - Increment package version.
MIT License
652 stars 122 forks source link

feat: add gitPushOptions and gitPushTagOptions. #201

Open slabruyere opened 7 years ago

slabruyere commented 7 years ago

added option gitPushOptions added option gitPushTagOptions

An interesting use case is for instance if you have a pre-push git hook that runs your tests and CI that doesn't let you merge your PRs if the tests fail. Then you don't want your tests to run just for a version bump (which usually happens after a checked merge). The proposed solution is, in this case, to set the gitPushOptions to --no-verify.

I also added a gitPushTagOptions in case it's of some use for some people :)

slabruyere commented 7 years ago

Awesome! Thanks @mojoaxel What is your usual release process ? :)