aboutsummaryrefslogtreecommitdiffstats
path: root/pushgems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'pushgems.rb')
-rwxr-xr-xpushgems.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/pushgems.rb b/pushgems.rb
new file mode 100755
index 0000000000..a754b56647
--- /dev/null
+++ b/pushgems.rb
@@ -0,0 +1,8 @@
+#!/usr/local/bin/ruby
+
+build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
+
+%w( actionmailer actionpack activerecord railties ).each do |pkg|
+ puts "Pushing: #{pkg} (#{build_number})"
+ `cd #{pkg} && PKG_BUILD=#{build_number} rake pgem && cd ..`
+end \ No newline at end of file