From 335afea60f831b68e83e5e5a94ef351deb0392e9 Mon Sep 17 00:00:00 2001 From: Ryan Kelly Date: Thu, 25 Mar 2021 09:53:12 +1100 Subject: [PATCH] Update README with info on how to bump the version number. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8185c1e..a034e67 100644 --- a/README.md +++ b/README.md @@ -127,14 +127,15 @@ For ease of consumption, we check the resulting built artifacts in to the Git re ### Release Process -Use `npm publish` to cut a new release, after ensuring that the tests pass and the -correct artifacts have been built: +Use `npm version` and `npm publish` to cut a new release, after ensuring that the tests pass +and the correct artifacts have been built: ``` npm run build npm test +npm version [major | minor | patch] -m "Prepare version %s" npm publish -git tag vX.Y.Z & git push origin vX.Y.Z +git push origin vX.Y.Z ``` Then, open a [Bugzilla Bug](https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Firefox%20Accounts) to update the vendored copy of the library in mozilla-central.