grunt-release icon indicating copy to clipboard operation
grunt-release copied to clipboard

Prerelease ID

Open scottux opened this issue 9 years ago • 2 comments

Addressing #101

Allow for a preId to be set, semver.inc() uses this to prefix a prerelease bump so that 1.0.0 becomes 1.0.0-alpha.0 for instance.

scottux avatar Feb 02 '15 17:02 scottux

Same here, great work. Thanks. One thing bugs me a bit: if we need to set an option for a pre-release the config might need updates across branches if you work with gitflow and do pre releases and rcs on your development or release branch. This would mean we need to maintain this in all branches.

Maybe we can investigate the change to a CLI flag: grunt release:prerelease --alpha Or something like that.

What do you think?

On Mon, Feb 2, 2015, 6:38 PM Scott [email protected] wrote:

Addressing #101 https://github.com/geddski/grunt-release/issues/101

Allow for a preId to be set, semver.inc() uses this to prefix a

prerelease bump so that 1.0.0 becomes 1.0.0-alpha.0 for instance.

You can view, comment on, or merge this pull request online at:

https://github.com/geddski/grunt-release/pull/102 Commit Summary

  • Prerelease ID

File Changes

  • M README.md https://github.com/geddski/grunt-release/pull/102/files#diff-0 (7)
  • M tasks/grunt-release.js https://github.com/geddski/grunt-release/pull/102/files#diff-1 (5)

Patch Links:

  • https://github.com/geddski/grunt-release/pull/102.patch
  • https://github.com/geddski/grunt-release/pull/102.diff

— Reply to this email directly or view it on GitHub https://github.com/geddski/grunt-release/pull/102.

drublic avatar Feb 03 '15 06:02 drublic

I like that idea, I am always tagging off of master so this was better for me than having a separate branch for -rc.

scottux avatar Feb 03 '15 20:02 scottux