npm run version:bump patch
MetaMask publishes using a loose semver interpretation. We divide the three segments of our version into three types of version bump:
Means a breaking change, either an API removed, or a major user expectation changed.
Means a new API or new user feature.
Means a fix for a bug, or correcting something that should have been assumed to work a different way.
npm run version:bump $BUMP_TYPE
where $BUMP_TYPE
is one of major
, minor
, or patch
.
This will increment the version in the app/manifest.json
and CHANGELOG.md
files according to our current protocol, where the manifest's version is updated, and any line items currently under the changelog's "master" section are now under the new dated version section.
The script that is executed lives here.
The main functions all live here.
The test for this behavior is at test/unit/development/version-bump-test.js
.