Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.12 KB

releasing.md

File metadata and controls

47 lines (33 loc) · 1.12 KB

Mithril Release Processes

Note These steps all assume that MithrilJS/mithril.js is a git remote named mithriljs, adjust accordingly if that doesn't match your setup.

  1. Ensure your local branch is up to date
$ git checkout next
$ git pull --rebase mithriljs master
  1. Determine patch level of the change
  2. Update version field in ospec/package.json to match new version being prepared for release.
  3. Update ospec/changelog.md to match new version being prepared for release.
    • Don't forget to add today's date under the version heading!
  4. Commit changes to master
$ git add .
$ git commit -m "v<version>"

# Push to your branch
$ git push

# Push to MithrilJS/mithril.js
$ git push mithriljs master
  1. Ensure the tests are passing!

Publish the release

  1. Push the changes to MithrilJS/mithril.js
$ git push mithriljs master
  1. Publish the changes to npm.
$ npm publish