aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-24 10:20:44 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-24 10:20:44 +0900
commitfe83ed47e7e79208c0129a0005dcb9d569543893 (patch)
treed3ac5cdf84c63aa24e6be45623169c31edc7ce66 /tool/make-snapshot
parentb38ab0a3a928939daf7c1772bf49065a3184b88a (diff)
downloadruby-fe83ed47e7e79208c0129a0005dcb9d569543893.tar.gz
Try to fix `make dist` error on chkbuild
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190823T213004Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T003006Z.fail.html.gz
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index ad5fd879f3..9199cc2097 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -202,7 +202,7 @@ end
def package(vcs, rev, destdir, tmp = nil)
patchlevel = false
prerelease = false
- if rev and revision = rev[/@(\d+)\z/, 1]
+ if rev and revision = rev[/@(\h+)\z/, 1]
rev = $`
end
case rev