You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: RELEASE.md
+11-9
Original file line number
Diff line number
Diff line change
@@ -79,25 +79,27 @@ The following describes the steps required to release a new version of `web3.js`
79
79
1. Update and commit `CHANGELOG.md`.
80
80
1. Move section header `[Unreleased]` to bottom.
81
81
1. Add next anticipated release version number to bottom (as a placeholder for new changelog entries).
82
-
1. Create release commit and tags e.g. `lerna version 1.2.7-rc.0 --no-push`
82
+
1. In the project root, run `npm run build` and commit changes after using a commit message like: `Build for 1.0.0-rc.0`
83
+
1. The next step will also build each package, but Lerna makes the tagged commit before building the packages (so they're not included)
84
+
3. Create release commit and tags e.g. `lerna version 1.2.7-rc.0 --no-push`
83
85
1. (updates package version numbers, builds minified file (for `1.x`), creates release commit and tags.)
84
-
1. Push release branch to origin with tags `git push origin release/1.2.7 --follow-tags`.
85
-
1. Create release PR as draft ([example](https://github.com/ethereum/web3.js/pull/3351)).
86
-
1. Ensure CI is green / passing.
86
+
4. Push release branch to origin with tags `git push origin release/1.2.7 --follow-tags`.
87
+
5. Create release PR as draft ([example](https://github.com/ethereum/web3.js/pull/3351)).
88
+
6. Ensure CI is green / passing.
87
89
1. (spend time here inspecting the CI logs to ensure everything looks valid and results were reported correctly)
88
-
1. Run `npm run publish from-package -- --dist-tag rc`.
90
+
7. Run `npm run publish from-package -- --dist-tag rc`.
89
91
1. Lerna can sometimes have difficulty with the number of packages we have. If the above command is unsuccessful, for every unpublished package run: `lerna publish --scope="package-name"``npm dist-tag add <package-name>@<version> rc`)
90
-
1. Publish the GitHub release.
91
-
1. A GitHub Webhook should trigger the ReadTheDocs build after the release is published.
92
+
8. Publish the GitHub release.
93
+
9. A GitHub Webhook should trigger the ReadTheDocs build after the release is published.
92
94
1. (The build may sometimes need to be manually triggered in ReadTheDocs admin panel. If the version does not appear, create a build of a previous version to refresh the list.)
93
95
1. Activate the new version.
94
-
1. Request PR review from key contributors:
96
+
10. Request PR review from key contributors:
95
97
1. Chris from EthereumJS ([@cgewecke](https://github.com/cgewecke))
96
98
1. Patricio from Nomic Labs ([@alcuadrado](https://github.com/alcuadrado))
97
99
1. Michael from Embark ([@michaelsbradleyjr](https://github.com/michaelsbradleyjr))
98
100
1. Nicholas from Truffle ([@gnidan](https://github.com/gnidan))
99
101
1. If touches or affects ENS: Nick Johnson ([@Arachnid](https://github.com/Arachnid))
100
-
1. Wait 1 week for community discourse and 2 reviewer approvals.
102
+
11. Wait 1 week for community discourse and 2 reviewer approvals.
101
103
1. (if release is an emergency patch, time limit may be reduced relative to severity.)
0 commit comments