Skip to content
Browse files
Added check for building the release tarball.
  • Loading branch information
brixen committed Dec 5, 2015
1 parent c1c79a6 commit 7c339b1abf183e070cfb36ae07663b20214454b1
Showing 1 changed file with 3 additions and 2 deletions.
@@ -2,16 +2,17 @@ require 'aws-sdk'

desc "Deploy a Rubinius release"
task :deploy do
s3 = "us-west-2")

# Build and upload the release tarball to S3.
if ENV["TRAVIS_OS_NAME"] == "linux" and ENV["CC"] == "clang"
if ENV["TRAVIS_OS_NAME"] == "linux" and ENV["CC"] == "clang" and ENV["RVM"] == "rbx-2"
# TODO: extract the name to a method
tarball = "rubinius-#{rbx_version}.tar.bz2"

puts "Deploying release tarball #{tarball}..."


s3 = "us-west-2")
obj = s3.bucket("rubinius-releases-rubinius-com").object(tarball)

0 comments on commit 7c339b1

Please sign in to comment.