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
Also update instructions to match recent script changes.
Also add reproducible commit SHA to post download instructions to support publishing the Firefox DevTools extension.
Copy file name to clipboardExpand all lines: scripts/release/README.md
+8-22Lines changed: 8 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,35 +30,27 @@ The sections below include meaningful `--tags` in the instructions. However, kee
30
30
31
31
To prepare a build for a particular commit:
32
32
1. Choose a commit from [the commit log](https://github.com/facebook/react/commits/master).
33
-
2. Click the "“✓" icon and click the Circle CI "Details" link.
34
-
3. Select the `process_artifacts ` job (**not** the `process_artifacts_experimental`job; see the next section)
35
-
* If it's still pending, you'll need to wait for it to finish. <sup>1</sup>
36
-
4. Copy the build ID from the URL
37
-
* e.g. the build ID for commit [e5d06e34b](https://github.com/facebook/react/commit/e5d06e34b) is [**124756**](https://circleci.com/gh/facebook/react/124756)
38
-
5. Run the [`prepare-release-from-ci`](#prepare-release-from-ci) script with the build ID <sup>2</sup> you found:
33
+
2. Copy the SHA (by clicking the 📋 button)
34
+
5. Run the [`prepare-release-from-ci`](#prepare-release-from-ci) script with the SHA <sup>1</sup> you found:
Once the build has been checked out and tested locally, you're ready to publish it:
44
40
```sh
45
41
scripts/release/publish.js --tags next
46
42
```
47
43
48
-
If the OTP code expires while publishing, re-run this command and answer "y" to the questions about whether it was expected for already published packages.
49
-
50
-
<sup>1: This is the most awkward part of cutting a release right now. We have plans to improve it.</sup><br/>
51
-
<sup>2: You can omit the `build` param if you just want to release the latest commit as to "next".</sup>
44
+
<sup>1: You can omit the `commit` param if you just want to release the latest commit as to "next".</sup>
52
45
53
46
## Publishing an Experimental Release
54
47
55
48
Experimental releases are special because they have additional features turned on.
56
49
57
-
The steps for publishing an experimental release are almost the same as for publishing a "next" release, except in step 3 you should choose the `process_artifacts_experimental ` job (instead of `process_artifacts`) <sup>1</sup>
50
+
The steps for publishing an experimental release are almost the same as for publishing a "next" release except for the release channel (`-r`) flag.
58
51
59
-
For example, the experimental build ID for commit [e5d06e34b](https://github.com/facebook/react/commit/e5d06e34b) is [**124763**](https://circleci.com/gh/facebook/react/124763):
Once the build has been checked out and tested locally, you're ready to publish it. When publishing an experimental release, use the `experimental` tag:
@@ -67,10 +59,6 @@ Once the build has been checked out and tested locally, you're ready to publish
67
59
scripts/release/publish.js --tags experimental
68
60
```
69
61
70
-
If the OTP code expires while publishing, re-run this command and answer "y" to the questions about whether it was expected for already published packages.
71
-
72
-
<sup>1: We have plans to make this less awkward. Ideally these releases will be published by a cron job.</sup>
73
-
74
62
## Publishing a Stable Release
75
63
76
64
Stable releases should always be created from the "next" channel. This encourages better testing of the actual release artifacts and reduces the chance of unintended changes accidentally being included in a stable release.
If the OTP code expires while publishing, re-run this command and answer "y" to the questions about whether it was expected for already published packages.
96
-
97
83
After successfully publishing the release, follow the on-screen instructions to ensure that all of the appropriate post-release steps are executed.
98
84
99
85
<sup>1: You can omit the `version` param if you just want to promote the latest "next" candidate to stable.</sup>
@@ -145,9 +131,9 @@ Downloads build artifacts from Circle CI in preparation to be published to NPM a
145
131
All artifacts built by Circle CI have already been unit-tested (both source and bundles) but these candidates should **always be manually tested** before being published. Upon completion, this script prints manual testing instructions.
146
132
147
133
#### Example usage
148
-
To prepare the artifacts created by [Circle CI build 124756](https://circleci.com/gh/facebook/react/124756#artifacts/containers/0) you would run:
134
+
To prepare the artifacts created by Circle CI for commit [0e526bc](https://github.com/facebook/react/commit/0e526bc) you would run:
0 commit comments