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
Copy file name to clipboardExpand all lines: scripts/release/README.md
+6
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ Once the canary has been checked out and tested locally, you're ready to publish
38
38
scripts/release/publish.js --tags next
39
39
```
40
40
41
+
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.
42
+
41
43
<sup>1: You can omit the `build` param if you just want to release the latest commit as a canary.</sup>
42
44
43
45
## Publishing an Experimental Canary
@@ -52,6 +54,8 @@ When publishing an experimental canary, use the `experimental` tag:
52
54
scripts/release/publish.js --tags experimental
53
55
```
54
56
57
+
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.
58
+
55
59
## Publishing a Stable Release
56
60
57
61
Stable releases should always be created from a previously-released canary. This encourages better testing of the actual release artifacts and reduces the chance of unintended changes accidentally being included in a stable release.
@@ -70,6 +74,8 @@ Once this step is complete, you're ready to publish the release:
70
74
scripts/release/publish.js --tags next latest
71
75
```
72
76
77
+
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.
78
+
73
79
After successfully publishing the release, follow the on-screen instructions to ensure that all of the appropriate post-release steps are executed.
74
80
75
81
<sup>1: You can omit the `version` param if you just want to promote the latest canary to stable.</sup>
0 commit comments