mirror of https://github.com/nodejs/node.git
Make rules for release blog post and email message
parent
57d722011a
commit
08e2e570a7
9
Makefile
9
Makefile
|
@ -122,7 +122,12 @@ out/doc/api/%.json: doc/api/%.markdown
|
||||||
out/doc/api/%.html: doc/api/%.markdown
|
out/doc/api/%.html: doc/api/%.markdown
|
||||||
out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
|
out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
|
||||||
|
|
||||||
out/doc/%:
|
email.md: ChangeLog tools/email-footer.md
|
||||||
|
bash tools/changelog-head.sh > $@
|
||||||
|
cat tools/email-footer.md | sed -e 's|__VERSION__|'$(VERSION)'|g' >> $@
|
||||||
|
|
||||||
|
blog.html: email.md
|
||||||
|
cat $< | node tools/doc/node_modules/.bin/marked > $@
|
||||||
|
|
||||||
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/
|
||||||
|
@ -143,11 +148,13 @@ docclean:
|
||||||
clean:
|
clean:
|
||||||
$(WAF) clean
|
$(WAF) clean
|
||||||
-find tools -name "*.pyc" | xargs rm -f
|
-find tools -name "*.pyc" | xargs rm -f
|
||||||
|
-rm -rf blog.html email.md
|
||||||
|
|
||||||
distclean: docclean
|
distclean: docclean
|
||||||
-find tools -name "*.pyc" | xargs rm -f
|
-find tools -name "*.pyc" | xargs rm -f
|
||||||
-rm -rf dist-osx
|
-rm -rf dist-osx
|
||||||
-rm -rf out/ node node_g
|
-rm -rf out/ node node_g
|
||||||
|
-rm -rf blog.html email.md
|
||||||
|
|
||||||
check:
|
check:
|
||||||
@tools/waf-light check
|
@tools/waf-light check
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cat ChangeLog | {
|
||||||
|
s=-1
|
||||||
|
while read line; do
|
||||||
|
if [ "${line:0:1}" == "2" ]; then
|
||||||
|
let "++s"
|
||||||
|
fi
|
||||||
|
if [ $s -eq 1 ]; then
|
||||||
|
exit
|
||||||
|
else
|
||||||
|
echo "$line"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
Source Code: http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz
|
||||||
|
|
||||||
|
Windows Installer: http://nodejs.org/dist/__VERSION__/node-__VERSION__.msi
|
||||||
|
|
||||||
|
Windows x64 Files: http://nodejs.org/dist/__VERSION__/x64/
|
||||||
|
|
||||||
|
Macintosh Installer (Universal): http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg
|
||||||
|
|
||||||
|
Other release files: http://nodejs.org/dist/__VERSION__/
|
||||||
|
|
||||||
|
Website: http://nodejs.org/docs/__VERSION__/
|
||||||
|
|
||||||
|
Documentation: http://nodejs.org/docs/__VERSION__/api/
|
Loading…
Reference in New Issue