diff options
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 9fb384205f..f68a9e44ea 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -140,8 +140,8 @@ def package(rev, destdir) patchlevel = true tag = "p#{$4}" url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$4}" - when /\A(\d+)\.(\d+)\.(\d+)\z/ - if $1 > "2" || $1 == "2" && $2 >= "1" + when /\A(\d+)\.(\d+)(?:\.(\d+))?\z/ + if $3 && ($1 > "2" || $1 == "2" && $2 >= "1") patchlevel = true tag = "" url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}" |