Closed this issue 9 years ago · 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);