-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Some string are not parsed correctly.
Adding following code to semverTest() function:
local V=
V=1.0.0-beta.1
semverParseInto $V MAJOR MINOR PATCH SPECIAL
echo "$V -> $MAJOR $MINOR $PATCH $SPECIAL"
V=1.0.0+build.1
semverParseInto $V MAJOR MINOR PATCH SPECIAL
echo "$V -> $MAJOR $MINOR $PATCH $SPECIAL"
the result is wrong, showing 1.1 instead of 1:
1.0.0-beta.1 -> 1.1 0.1 0.1 -beta.1
1.0.0+build.1 -> 1+build.1 0+build.1 0+build.1 +build.1
Metadata
Metadata
Assignees
Labels
No labels