summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-10-07 19:03:06 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-10-07 19:03:06 +0900
commitbb86611c9b61b47ba7ff65c3b0a0737a20183460 (patch)
treecd98146ab587754a1df06439169fd6c8c58fdc79
parentf4252f64964f3b66171cc0c81bda4c1b2d028601 (diff)
Remove `-s3` option
It will not use in `ruby/actions`, and `default=tmp` is not correct.
-rwxr-xr-xtool/make-snapshot7
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|