- tests must pass
- update
package.json
andpackage-lock.json
version - update
CHANGELOG.md
. Add #<TICKET_NUMBER> as well as a link to the github user who fixed it if applicable. - git commit -a -m 'release x.x.x'
- git tag x.x.x
npm run release
, ornpm run release-legacy
for 4.x- update mongoosejs.com (see "updating the website" below)
- tweet changelog link from @mongoosejs
- Announce on mongoosejsteam slack channel
- if this is a legacy release,
git merge
changes into master.
For 6.x
- Change to the master branch
- execute
npm run docs:prepare:publish:stable
(when this process completes you'll be on the gh-pages branch) git commit -a -m 'chore: website 6.x.x'
git push origin gh-pages
For 5.x
- Change to the 5.x branch
- execute
make docs_legacy
(when this process completes you'll be on the gh-pages branch) git commit -a -m 'chore: website 5.x.x'
git push origin gh-pages