diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-22 13:29:22 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-22 13:29:22 +0000 |
commit | fd95719c98c413e2d200e2c175ca85dae843d45d (patch) | |
tree | 9a8c265c4926b64e62c5f4f5e849d97f12fd7f46 | |
parent | daaa5251c9634ec18d720adc0e5daee8bc4d9a13 (diff) | |
download | rails-fd95719c98c413e2d200e2c175ca85dae843d45d.tar.gz rails-fd95719c98c413e2d200e2c175ca85dae843d45d.tar.bz2 rails-fd95719c98c413e2d200e2c175ca85dae843d45d.zip |
Releasing 0.11.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | pushgems.rb | 12 | ||||
-rw-r--r-- | railties/Rakefile | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/pushgems.rb b/pushgems.rb index 69312ccff0..5fa2241909 100755 --- a/pushgems.rb +++ b/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 diff --git a/railties/Rakefile b/railties/Rakefile index df5af97353..123e5bdab3 100644 --- a/railties/Rakefile +++ b/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) |