diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-10-07 19:03:06 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-10-07 19:03:06 +0900 |
commit | bb86611c9b61b47ba7ff65c3b0a0737a20183460 (patch) | |
tree | cd98146ab587754a1df06439169fd6c8c58fdc79 /tool/make-snapshot | |
parent | f4252f64964f3b66171cc0c81bda4c1b2d028601 (diff) | |
download | ruby-bb86611c9b61b47ba7ff65c3b0a0737a20183460.tar.gz |
Remove `-s3` option
It will not use in `ruby/actions`, and `default=tmp` is not correct.
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-x | tool/make-snapshot | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index f9716ddbc0..68a9f51446 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -17,7 +17,6 @@ $keep_temp ||= nil $patch_file ||= nil $packages ||= nil $digests ||= nil -$s3 ||= nil $tooldir = File.expand_path("..", __FILE__) $unicode_version = nil if ($unicode_version ||= nil) == "" $colorize = Colorize.new @@ -35,7 +34,6 @@ options: -unicode_version=VER Unicode version to generate encodings -svn[=URL] make snapshot from SVN repository (#{SVNURL}) - -s3=PATH s3 bucket path(default=tmp) -help, --help show this message version: master, trunk, stable, branches/*, tags/*, X.Y, X.Y.Z, X.Y.Z-pL @@ -601,11 +599,6 @@ revisions.collect {|rev| package(vcs, rev, destdir, tmp)}.flatten.each do |name| next end str = open(name, "rb") {|f| f.read} - if $s3 - %x[aws s3 cp #{name} s3://ftp.r-l.o/pub/#{$s3}/#{Pathname(name).basename}] - FileUtils.rm_f name - name = "https://s3.amazonaws.com/ftp.r-l.o/pub/#{$s3}/#{Pathname(name).basename}" - end puts "* #{$colorize.pass(name)}" puts " SIZE: #{str.bytesize} bytes" $digests.each do |alg| |