diff options
-rw-r--r-- | release.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/release.rb b/release.rb new file mode 100644 index 0000000000..2076515f0e --- /dev/null +++ b/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`
\ No newline at end of file |