diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-04-13 12:26:15 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-04-13 12:26:15 -0700 |
commit | 5c897270c20a8f680156cf66c5982c1251898811 (patch) | |
tree | 29401f73343d6666c37903d429a892477fcdfb53 | |
parent | 4c8af9bf518582cce73b4b430989dc6cd8cdd775 (diff) | |
download | rails-5c897270c20a8f680156cf66c5982c1251898811.tar.gz rails-5c897270c20a8f680156cf66c5982c1251898811.tar.bz2 rails-5c897270c20a8f680156cf66c5982c1251898811.zip |
Simple release script
-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 |