stephenlacy/gulp-bump

preid is ignored when version in source file is incorrect

Closed this issue · 1 comments

When the source version is incorrect, preid value is ignored.

Line 47 should be changed from

 ver = semver.inc(value, opts.type);

to

 ver = semver.inc(value, opts.type, opts.preid);