problems with tags containing _ in the base name fixed

This commit is contained in:
2015-11-04 11:38:56 +01:00
parent de3292f42b
commit edf0992020
+1 -1
View File
@@ -177,7 +177,7 @@ scanmatch $git_context {^([0-9]+)\.([0-9]+)(\.([0-9]+))?$} {
puts stderr "checking tag $matchInfo(line) => version $version"
}
scanmatch $git_context {^[a-zA-Z0-9]+_([0-9]+)_([0-9]+)(_([0-9]+))?$} {
scanmatch $git_context {_([0-9]+)_([0-9]+)(_([0-9]+))?$} {
set major $matchInfo(submatch0)
set minor $matchInfo(submatch1)
set patch [expr $matchInfo(submatch3) + 0]