We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e2f8d commit 43c8836Copy full SHA for 43c8836
update-version
@@ -34,7 +34,7 @@ getNextTagFromGivenPath()
34
local position=${2:-2}
35
36
local currentTag=$(getCurrentTagFromGivenPath "$1")
37
- local searchReg="([v]?)([0-9]+)\.([0-9]+)\.([0-9]+)"
+ local searchReg="^([v]?)([0-9]+)\.([0-9]+)\.([0-9]+)"
38
39
if ! [[ "$currentTag" =~ $searchReg ]]; then
40
>&2 echo "Unable to parse the current version \"$currentTag\"."
0 commit comments