diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-12-11 16:35:12 -0800 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-12-11 16:45:04 -0800 |
| commit | 0ecf68963571b70103f7fa35b7403585585d032c (patch) | |
| tree | 7c03e7ae12c076ee72cd7c4783ebac22adbe4ed9 /tool | |
| parent | 58f9aca0ccc51a1f9c02280438518c9be8047dbd (diff) | |
make-snapshot: Make preview/rc match stricter
to make it a bit more consistent with the other branch
Diffstat (limited to 'tool')
| -rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index cdda0c5994..2ea35f8fea 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -270,7 +270,7 @@ def package(vcs, rev, destdir, tmp = nil) when /\Astable\z/ vcs.branch_list("ruby_[0-9]*") {|n| url = n[/\Aruby_\d+_\d+\z/]} url &&= vcs.branch(url) - when /\A(.*)\.(.*)\.(.*)-(preview|rc)(\d+)/ + when /\A(\d+)\.(\d+)\.(\d+)-(preview|rc)(\d+)/ prerelease = true tag = "#{$4}#{$5}" url = vcs.tag("v#{$1}_#{$2}_#{$3}_#{$4}#{$5}") |
