mirror of https://github.com/nodejs/node.git
Fix #3001 website update 'latest' links on publish
parent
a7dce47854
commit
066789a6e3
7
Makefile
7
Makefile
|
@ -126,6 +126,13 @@ out/doc/%:
|
||||||
|
|
||||||
website-upload: doc
|
website-upload: doc
|
||||||
rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/
|
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
|
docopen: out/doc/api/all.html
|
||||||
-google-chrome out/doc/api/all.html
|
-google-chrome out/doc/api/all.html
|
||||||
|
|
Loading…
Reference in New Issue