diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-21 17:06:16 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-21 17:06:16 +0000 |
commit | 635c7f43ddb4f3f3bd52698fcaf97e262b1738be (patch) | |
tree | f3a448651ebfa099cee4020a86c869f7f0fde15f /activesupport/Rakefile | |
parent | 15741451855c80f775c0237cc9bcacf55666e136 (diff) | |
download | rails-635c7f43ddb4f3f3bd52698fcaf97e262b1738be.tar.gz rails-635c7f43ddb4f3f3bd52698fcaf97e262b1738be.tar.bz2 rails-635c7f43ddb4f3f3bd52698fcaf97e262b1738be.zip |
Run with the latest versions so beta gems will work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r-- | activesupport/Rakefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 84e93079d3..03997a35dd 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -72,11 +72,11 @@ end desc "Publish the release files to RubyForge." task :release => [ :package ] do - `rubyforge login` + require 'rubyforge' - for ext in %w( gem tgz zip ) - release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} 'REL #{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" - puts release_command - system(release_command) - end -end + packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" } + + rubyforge = RubyForge.new + rubyforge.login + rubyforge.add_release(PKG_NAME, PKG_NAME, "REL #{PKG_VERSION}", *packages) +end
\ No newline at end of file |