Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Releasing 0.11.0

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit fd95719c98c413e2d200e2c175ca85dae843d45d 1 parent daaa525
@dhh dhh authored
Showing with 10 additions and 4 deletions.
  1. +9 −3 pushgems.rb
  2. +1 −1  railties/Rakefile
View
12 pushgems.rb
@@ -1,8 +1,14 @@
#!/usr/local/bin/ruby
-build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
+unless ARGV.first == "no_build"
+ build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
+end
-(%w( actionwebservice actionmailer actionpack activerecord railties activesupport) - ARGV).each do |pkg|
+%w( actionwebservice actionmailer actionpack activerecord railties activesupport).each do |pkg|
puts "Pushing: #{pkg} (#{build_number})"
- `cd #{pkg} && rm -rf pkg && PKG_BUILD=#{build_number} rake pgem && cd ..`
+ if build_number
+ `cd #{pkg} && rm -rf pkg && PKG_BUILD=#{build_number} rake pgem && cd ..`
+ else
+ `cd #{pkg} && rm -rf pkg && rake pgem && cd ..`
+ end
end
View
2  railties/Rakefile
@@ -237,7 +237,7 @@ spec = Gem::Specification.new do |s|
s.add_dependency('rake', '>= 0.4.15')
s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD)
s.add_dependency('activerecord', '= 1.9.0' + PKG_BUILD)
- s.add_dependency('actionpack', '= 1.7.0' + PKG_BUILD)
+ s.add_dependency('actionpack', '= 1.6.0' + PKG_BUILD)
s.add_dependency('actionmailer', '= 0.8.0' + PKG_BUILD)
s.add_dependency('actionwebservice', '= 0.6.1' + PKG_BUILD)
Please sign in to comment.
Something went wrong with that request. Please try again.