Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
allow preid to be passed
Browse files Browse the repository at this point in the history
  • Loading branch information
scamden committed Mar 13, 2015
1 parent c63c31d commit d23cb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function(opts) {
}
else if (semver.valid(content[opts.key])) {
// increment the key with type
content[opts.key] = semver.inc(content[opts.key], opts.type);
content[opts.key] = semver.inc(content[opts.key], opts.type, opts.preid);
ver = content[opts.key];
}
else if (opts.key.indexOf('.') > -1) {
Expand Down

0 comments on commit d23cb78

Please sign in to comment.