aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/Rakefile
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-16 13:56:59 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-16 13:56:59 -0500
commit6094e6516951444f8c3d6bb31f171af9fe96a02f (patch)
tree57b673c70281d7a56c23328bd4dcd51a07deb951 /actionmailer/Rakefile
parenta565c19c5ba465c74a465b55be97a4abfb760e20 (diff)
downloadrails-6094e6516951444f8c3d6bb31f171af9fe96a02f.tar.gz
rails-6094e6516951444f8c3d6bb31f171af9fe96a02f.tar.bz2
rails-6094e6516951444f8c3d6bb31f171af9fe96a02f.zip
We won't be publishing tars and zips anymore
Diffstat (limited to 'actionmailer/Rakefile')
-rw-r--r--actionmailer/Rakefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile
index a756f35ee8..8a863705bb 100644
--- a/actionmailer/Rakefile
+++ b/actionmailer/Rakefile
@@ -50,19 +50,17 @@ spec = eval(File.read('actionmailer.gemspec'))
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
- p.need_tar = true
- p.need_zip = true
end
desc "Publish the API documentation"
-task :pgem => [:package] do
+task :pgem => [:package] do
require 'rake/contrib/sshpublisher'
Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
`ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'`
end
desc "Publish the API documentation"
-task :pdoc => [:rdoc] do
+task :pdoc => [:rdoc] do
require 'rake/contrib/sshpublisher'
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload
end