File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 7777 "install-browser" : " npm install `node format_deps.js`" ,
7878 "lint" : " eslint . --quiet" ,
7979 "nsp" : " nsp check" ,
80+ "release" : " git push origin master --tags && npm publish" ,
81+ "release-legacy" : " git push origin 4.x --tags && npm publish --tag 4.x" ,
8082 "test" : " mocha test/*.test.js test/**/*.test.js" ,
8183 "test-cov" : " istanbul cover --report text --report html _mocha test/*.test.js"
8284 },
Original file line number Diff line number Diff line change 553 . update History.md using ` git changelog ` or similar. Add #<TICKET_NUMBER> as well as a link to the github user who fixed it if applicable.
664 . git commit -a -m 'release x.x.x'
775 . git tag x.x.x
8- 6 . git push origin BRANCH --tags && npm publish
8+ 6 . ` npm run release ` , or ` npm run release-legacy ` for 4.x
997 . update mongoosejs.com (see "updating the website" below)
10108 . tweet changelog link from [ @mongoosejs ] ( https://twitter.com/mongoosejs )
11119 . Announce on mongoosejsteam slack channel
You can’t perform that action at this time.
0 commit comments