Permalink
Browse files

Simple release script

  • Loading branch information...
1 parent 4c8af9b commit 5c897270c20a8f680156cf66c5982c1251898811 @dhh dhh committed Apr 13, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 release.rb
View
@@ -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.