diff --git a/lib/versioning/ruby/version.js b/lib/versioning/ruby/version.js index 3fcc9c680b1c16b3766b3af9a4f146eceade4455..5e3c2ff93dc5898d97051ca9e3f3b23f9f3eafd3 100644 --- a/lib/versioning/ruby/version.js +++ b/lib/versioning/ruby/version.js @@ -47,7 +47,7 @@ const incrementPatch = (ptch, pre) => (pre.length === 0 ? ptch + 1 : ptch); // istanbul ignore next const increment = (from, to) => { - const { major: maj, minor: min, patch: ptch, pre } = parse(from); + const { major: maj, minor: min, patch: ptch, prerelease: pre } = parse(from); let nextVersion; switch (diff(from, adapt(to, from))) {