Skip to content
Snippets Groups Projects
Commit 0fc566cf authored by Michael Kriese's avatar Michael Kriese Committed by Rhys Arkins
Browse files

fix(ruby): fix versioning increment (#4144)

parent 639389cc
No related branches found
No related tags found
No related merge requests found
......@@ -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))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment