summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-12-06 10:15:28 -0800
committerDaniel DeLeo <dan@opscode.com>2011-12-06 10:15:28 -0800
commitd1c9c960ec6fa7c1910962afb55020e3338b8a41 (patch)
tree73787ff18f34c90a5511484c33715c4bd231e9ee /Rakefile
parent27b1d16d3a677c6112297d06181938e70b3c4896 (diff)
downloadmixlib-shellout-d1c9c960ec6fa7c1910962afb55020e3338b8a41.tar.gz
need to clean old gems before build/ship
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 87a69ac..9f8e24b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,7 +14,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
end
desc "Build it and ship it"
-task :ship => :gem do
+task :ship => [:clean, :gem] do
sh("git tag #{Mixlib::ShellOut::VERSION}")
sh("git push opscode --tags")
Dir[File.expand_path("../pkg/*.gem", __FILE__)].each do |built_gem|