diff options
author | Seth Chisamore <schisamo@opscode.com> | 2011-12-06 18:13:58 -0500 |
---|---|---|
committer | Seth Chisamore <schisamo@opscode.com> | 2011-12-06 18:13:58 -0500 |
commit | 084d473eccfa5b744ee77e686df1d77b5cae5390 (patch) | |
tree | f7c416b5402d631cc109e6ae29ce9470b9b9b20c /Rakefile | |
parent | d1c9c960ec6fa7c1910962afb55020e3338b8a41 (diff) | |
download | mixlib-shellout-084d473eccfa5b744ee77e686df1d77b5cae5390.tar.gz |
ensure the ruby platform version of the gem is pushed first
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |