summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/make-snapshot2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 892f12ac78..ed31c8c717 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Oct 28 12:42:28 2008 Yuki Sonoda <yugui@yugui.jp>
+
+ * tool/make-snapshot.rb (package): did not accept tagnames with the
+ prefix "previewN"
+
Tue Oct 28 12:06:07 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/rubygems/test_gem.rb (@default_dir_re): considers
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 7ad64bd55d..cb12c879ee 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -56,7 +56,7 @@ def package(rev, destdir)
when /\Astable\z/
url = SVNURL + "branches/"
url = url + `svn ls #{url}`[/.*^(ruby_\d+_\d+)\//m, 1]
- when /\A(.*)\.(.*)\.(.*)-(p)?(.*)/
+ when /\A(.*)\.(.*)\.(.*)-((?!preview)p)?(.*)/
patchlevel = !!$4
tag = "#{$4}#{$5}"
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$5}"