Skip to content

Commit 0ecf689

Browse files
committed
make-snapshot: Make preview/rc match stricter
to make it a bit more consistent with the other branch
1 parent 58f9aca commit 0ecf689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/make-snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def package(vcs, rev, destdir, tmp = nil)
270270
when /\Astable\z/
271271
vcs.branch_list("ruby_[0-9]*") {|n| url = n[/\Aruby_\d+_\d+\z/]}
272272
url &&= vcs.branch(url)
273-
when /\A(.*)\.(.*)\.(.*)-(preview|rc)(\d+)/
273+
when /\A(\d+)\.(\d+)\.(\d+)-(preview|rc)(\d+)/
274274
prerelease = true
275275
tag = "#{$4}#{$5}"
276276
url = vcs.tag("v#{$1}_#{$2}_#{$3}_#{$4}#{$5}")

0 commit comments

Comments
 (0)