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 /actionmailer/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 'actionmailer/Rakefile')
-rwxr-xr-x | actionmailer/Rakefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 6095c6dced..aac65b21c3 100755 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -54,7 +54,7 @@ spec = Gem::Specification.new do |s| s.rubyforge_project = "actionmailer" s.homepage = "http://www.rubyonrails.org" - s.add_dependency('actionpack', '= 1.12.5' + PKG_BUILD) + s.add_dependency('actionpack', '= 1.13.3' + PKG_BUILD) s.has_rdoc = true s.requirements << 'none' @@ -85,11 +85,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 + 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 |