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 2
2
node_modules
3
3
lib /* .js
4
4
* ~
5
+ package-lock.json
Original file line number Diff line number Diff line change @@ -37,19 +37,3 @@ serve:
37
37
rm -f .pidfile.pid; \
38
38
sleep 0.1; \
39
39
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 33
33
"repository" : {
34
34
"type" : " git" ,
35
35
"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"
36
41
}
37
42
}
You can’t perform that action at this time.
0 commit comments