Skip to content

Commit 49acb38

Browse files
authored
Update publishing instructions (#52)
The publishing instructions in the README have been updated to reflect changes introduced in #44. We forgot to update the README in that PR. The release instructions should now match those in the module template.
1 parent 50c4238 commit 49acb38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ The project follows the same release process as the other libraries in the MetaM
7272

7373
7. Publish the release on npm.
7474

75-
- Be very careful to use a clean local environment to publish the release, and follow exactly the same steps used during CI.
76-
- Use `npm publish --dry-run` to examine the release contents to ensure the correct files are included. Compare to previous releases if necessary (e.g. using `https://unpkg.com/browse/[package name]@[package version]/`).
77-
- Once you are confident the release contents are correct, publish the release using `npm publish`.
75+
- Wait for the `publish-release` GitHub Action workflow to finish. This should trigger a second job (`publish-npm`), which will wait for a run approval by the [`npm publishers`](https://github.com/orgs/MetaMask/teams/npm-publishers) team.
76+
- Approve the `publish-npm` job (or ask somebody on the npm publishers team to approve it for you).
77+
- Once the `publish-npm` job has finished, check npm to verify that it has been published.

0 commit comments

Comments
 (0)