Rakefile in reflexive-0.0.4 vs Rakefile in reflexive-0.0.5
- old
+ new
@@ -5,11 +5,11 @@
sh "spec #{ (Dir["./spec/*_spec.rb"] - ["./spec/rails_integration_spec.rb"]).join(" ") }"
end
GEM_NAME = "reflexive"
-desc "Relese next version of reflexive gem"
+desc "Relese next version of reflexive gem (do that just after `git commit')"
task :release do
require "rubygems"
require "rubygems/version"
require "yaml"
@@ -24,8 +24,10 @@
sh "gem push #{ GEM_NAME }-#{ new_version }.gem --verbose"
sh "gem install #{ GEM_NAME } --version=#{ new_version } --local --verbose"
File.delete("#{ GEM_NAME }-#{ new_version }.gem")
+
+ sh "git push"
end
task :default => :spec