From 066789a6e33eccde3dcde420d58cb497f8f8b55d Mon Sep 17 00:00:00 2001 From: isaacs Date: Sat, 24 Mar 2012 01:39:39 -0700 Subject: [PATCH] Fix #3001 website update 'latest' links on publish --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 77f4ce2ac57..737f49ae5a9 100644 --- a/Makefile +++ b/Makefile @@ -126,6 +126,13 @@ out/doc/%: website-upload: doc rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/ + ssh node@nodejs.org '\ + rm -f ~/web/nodejs.org/dist/latest &&\ + ln -s $(VERSION) ~/web/nodejs.org/dist/latest &&\ + rm -f ~/web/nodejs.org/docs/latest &&\ + ln -s $(VERSION) ~/web/nodejs.org/docs/latest &&\ + rm -f ~/web/nodejs.org/dist/node-latest.tar.gz &&\ + ln -s $(VERSION)/node-$(VERSION).tar.gz ~/web/nodejs.org/dist/node-latest.tar.gz' docopen: out/doc/api/all.html -google-chrome out/doc/api/all.html