diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-01 23:16:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-01 23:16:47 +0900 |
commit | 7ff2bfed92f8017184963eaac13e75cfb5ce5d4a (patch) | |
tree | 7937be8e6ef623ad300ee611cbdbb85d955fa337 /tool/make-snapshot | |
parent | f2769ae2c9f5c5a902584282f1e512437db1f395 (diff) | |
download | ruby-7ff2bfed92f8017184963eaac13e75cfb5ce5d4a.tar.gz |
Alias "master" and "trunk"
Diffstat (limited to 'tool/make-snapshot')
-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 8b60ee21cb..b166c7258f 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -42,7 +42,7 @@ options: -s3=PATH s3 bucket path(default=tmp) -help, --help show this message version: - trunk, stable, branches/*, tags/*, X.Y, X.Y.Z, X.Y.Z-pL + master, trunk, stable, branches/*, tags/*, X.Y, X.Y.Z, X.Y.Z-pL each versions may be followed by optional @revision. USAGE end @@ -207,7 +207,7 @@ def package(vcs, rev, destdir, tmp = nil) case rev when nil url = nil - when /\Atrunk\z/ + when /\A(?:master|trunk)\z/ url = vcs.trunk when /\Abranches\// url = vcs.branch($') |