aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-12-08 14:03:42 +0100
committerXavier Noria <fxn@hashref.com>2011-12-08 14:03:42 +0100
commitc2aadf89353601e00afd672fc2c353b25ee4e7fa (patch)
tree1d0cbc229bf887e4c9e68b00ae21f8445d00b581
parent4936fc35a0d00f5ab1a3f2f2c8dfc192da5b5b80 (diff)
downloadrails-c2aadf89353601e00afd672fc2c353b25ee4e7fa.tar.gz
rails-c2aadf89353601e00afd672fc2c353b25ee4e7fa.tar.bz2
rails-c2aadf89353601e00afd672fc2c353b25ee4e7fa.zip
updates the host and port of publish_docs, and changes the release instructions to use the task rather than curl (thanks to Vijay Dev for spotting this one)
-rw-r--r--RELEASING_RAILS.rdoc2
-rwxr-xr-xRakefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/RELEASING_RAILS.rdoc b/RELEASING_RAILS.rdoc
index 5ba8897f18..7bad1d01b8 100644
--- a/RELEASING_RAILS.rdoc
+++ b/RELEASING_RAILS.rdoc
@@ -215,7 +215,7 @@ and generates and publishes stable docs if a new stable tag is detected.
The hook unfortunately is not invoked by tag pushing, so once the new stable
tag has been pushed to origin, please run
- curl -X POST -d '' http://api.rubyonrails.org:8080/rails-master-hook
+ rake publish_docs
You should see something like this:
diff --git a/Rakefile b/Rakefile
index e59abd5758..bfabb2559c 100755
--- a/Rakefile
+++ b/Rakefile
@@ -189,7 +189,7 @@ end
#
desc 'Publishes docs, run this AFTER a new stable tag has been pushed'
task :publish_docs do
- Net::HTTP.new('rails-hooks.hashref.com').start do |http|
+ Net::HTTP.new('api.rubyonrails.org', 8080).start do |http|
request = Net::HTTP::Post.new('/rails-master-hook')
response = http.request(request)
puts response.body