File tree Expand file tree Collapse file tree 4 files changed +6
-33
lines changed Expand file tree Collapse file tree 4 files changed +6
-33
lines changed Original file line number Diff line number Diff line change 22node_modules
33lib /* .js
44* ~
5+ package-lock.json
Original file line number Diff line number Diff line change @@ -37,19 +37,3 @@ serve:
3737 rm -f .pidfile.pid; \
3838 sleep 0.1; \
3939 done
40-
41- # ### Release process
42- # 1) commit everything
43- # 2) amend version in package.json
44- # 3) run 'make tag' and run suggested 'git push' variants
45- # 4) run 'npm publish'
46-
47- RVER: =$(shell grep "version" package.json|tr '\t"' ' \t'|cut -f 4)
48- VER: =$(shell ./VERSION-GEN)
49-
50- .PHONY : tag
51- tag : all
52- git commit $(TAG_OPTS ) package.json Changelog -m " Release $( RVER) "
53- git tag v$(RVER ) -m " Release $( RVER) "
54- @echo ' [*] Now run'
55- @echo ' git push; git push --tag'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3333 "repository" : {
3434 "type" : " git" ,
3535 "url" : " https://github.com/sockjs/sockjs-node.git"
36+ },
37+ "scripts" : {
38+ "version" : " make build && git add Changelog" ,
39+ "postversion" : " npm publish" ,
40+ "postpublish" : " git push origin --all && git push origin --tags"
3641 }
3742}
You can’t perform that action at this time.
0 commit comments