Skip to content

Commit

Permalink
Simple release script
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Apr 13, 2010
1 parent 4c8af9b commit 5c89727
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions release.rb
@@ -0,0 +1,11 @@
version = ARGV.pop

%w( activesupport activemodel activerecord activeresource actionpack actionmailer railties ).each do |framework|
puts "Building and pushing #{framework}..."
`cd #{framework} && gem build #{framework}.gemspec && gem push #{framework}-#{version}.gem && rm #{framework}-#{version}.gem`
end

puts "Building and pushing Rails..."
`gem build rails.gemspec`
`gem push rails-#{version}.gem`
`rm rails-#{version}.gem`

0 comments on commit 5c89727

Please sign in to comment.