Rakefile in bait-0.5.1 vs Rakefile in bait-0.5.2

- old
+ new

@@ -56,6 +56,17 @@ else puts "I'll only build the gem on the master branch" end end end + + task :push => :build do + require "bait/version" + gem = "bait-#{Bait::VERSION}.gem" + if File.exists?(gem) + puts "Pushing gem to rubygems" + puts `gem push #{gem}` + else + puts "File not found #{gem}" + end + end end