File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222NPM := npm_config_tar=$(TAR ) npm
2323
2424LINT = ./node_modules/.javascriptlint/build/install/jsl --conf ./tools/jsl.conf
25-
25+ RELEASE = python ./node_modules/.cutarelease/cutarelease.py -f package.json
2626RESTDOWN = ./node_modules/.restdown/bin/restdown \
2727 -m ${DOCPKGDIR} \
2828 -D mediaroot=media
@@ -51,6 +51,10 @@ node_modules/.npm.installed:
5151 (cd node_modules/.javascriptlint && git fetch origin); \
5252 fi
5353
54+ if [[ ! -d node_modules/.cutarelease ]]; then \
55+ git clone https://github.com/trentm/cutarelease node_modules/.cutarelease; \
56+ fi
57+
5458 @(cd ./node_modules/.restdown && git checkout $(RESTDOWN_VERSION))
5559 @(cd ./node_modules/.javascriptlint && $(MAKE) install)
5660 @touch ./node_modules/.npm.installed
@@ -82,3 +86,13 @@ clean:
8286
8387distclean : clean
8488 @rm -fr node_modules
89+
90+ release : lint test doc
91+ $(RELEASE )
92+ git checkout gh-pages
93+ git pull --rebase
94+ cp -r docs/pkg/* v1.0
95+ git add v1.0
96+ git commit -m ' release docs'
97+ git push origin gh-pages
98+ git checkout master
Original file line number Diff line number Diff line change 1212 "name" : " restify" ,
1313 "homepage" : " http://mcavage.github.com/node-restify" ,
1414 "description" : " REST framework" ,
15- "version" : " 1.0.0-1-rc " ,
15+ "version" : " 1.0.0-1-rc2 " ,
1616 "publishConfig" : { "tag" : " beta" },
1717 "repository" : {
1818 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments