Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.567 kB
require 'rubygems'
require "bundler"
Bundler.setup
require 'rake'
require 'rake/gempackagetask'
gemspec = eval(File.read('jammit-s3.gemspec'))
Rake::GemPackageTask.new(gemspec) do |pkg|
pkg.gem_spec = gemspec
end
desc "build the gem and release it to rubygems.org"
task :release => :gem do
puts "Tagging #{gemspec.version}..."
system "git tag -a #{gemspec.version} -m 'Tagging #{gemspec.version}'"
puts "Pushing to Github..."
system "git push --tags"
puts "Pushing to rubygems.org..."
system "gem push pkg/#{gemspec.name}-#{gemspec.version}.gem"
end
Jump to Line
Something went wrong with that request. Please try again.