Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #3001 website update 'latest' links on publish

  • Loading branch information...
commit 066789a6e33eccde3dcde420d58cb497f8f8b55d 1 parent a7dce47
@isaacs isaacs authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 Makefile
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.