summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSeth Chisamore <schisamo@opscode.com>2011-12-06 18:13:58 -0500
committerSeth Chisamore <schisamo@opscode.com>2011-12-06 18:13:58 -0500
commit084d473eccfa5b744ee77e686df1d77b5cae5390 (patch)
treef7c416b5402d631cc109e6ae29ce9470b9b9b20c /Rakefile
parentd1c9c960ec6fa7c1910962afb55020e3338b8a41 (diff)
downloadmixlib-shellout-084d473eccfa5b744ee77e686df1d77b5cae5390.tar.gz
ensure the ruby platform version of the gem is pushed first
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 9f8e24b..533b341 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,7 +1,7 @@
require 'rspec/core/rake_task'
require 'rubygems/package_task'
-Dir[File.expand_path("../*gemspec", __FILE__)].each do |gemspec_path|
+Dir[File.expand_path("../*gemspec", __FILE__)].reverse.each do |gemspec_path|
gemspec = eval(IO.read(gemspec_path))
Gem::PackageTask.new(gemspec).define
end
@@ -17,7 +17,7 @@ desc "Build it and ship it"
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|
+ Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse.each do |built_gem|
sh("gem push #{built_gem}")
end
end