You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

  1. ## mongoose release procedure
  2. 1. tests must pass
  3. 2. update package.json version
  4. 3. update History.md using `git changelog` or similar. list the related ticket(s) #<TICKET_NUMBER> as well as a link to the github user who fixed it if applicable.
  5. 4. git commit -m 'release x.x.x'
  6. 5. git tag x.x.x
  7. 6. git push origin BRANCH --tags && npm publish
  8. 7. update mongoosejs.com (see "updating the website" below)
  9. 8. tweet changelog link from [@mongoosejs](https://twitter.com/mongoosejs)
  10. 9. change package.json version to next patch version suffixed with '-pre' and commit "now working on x.x.x"
  11. 10. if this is a legacy release, `git merge` changes into master.
  12. ## updating the website
  13. For 4.x
  14. 0. Change to the master branch
  15. 1. execute `make docs` (when this process completes you'll be on the gh-pages branch)
  16. 2. `git commit -a -m 'docs: release 4.x.x'`
  17. 3. `git push origin gh-pages`
  18. For 3.8.x:
  19. 0. Change to the 3.8.x branch
  20. 1. execute `make docs_legacy` (when this process completes you'll be on the gh-pages branch)
  21. 2. `git commit -a -m 'website; regen <x.x.x>'`
  22. 3. `git push origin gh-pages`