[Rakefile] gem:release depends on gem:build.

This commit is contained in:
Fabio Pelosin
2012-06-25 22:00:15 +02:00
parent 8a1e829566
commit 610dc87142

View File

@@ -77,7 +77,7 @@ namespace :gem do
end
desc "Run all specs, build and install gem, commit version change, tag version change, and push everything"
task :release do
task :release => :build do
unless ENV['SKIP_CHECKS']
if `git symbolic-ref HEAD 2>/dev/null`.strip.split('/').last != 'master'