Skip to content

Commit 241c446

Browse files
authored
Add a note about expiring OTP codes
1 parent faabe22 commit 241c446

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/release/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Once the canary has been checked out and tested locally, you're ready to publish
3838
scripts/release/publish.js --tags next
3939
```
4040

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+
4143
<sup>1: You can omit the `build` param if you just want to release the latest commit as a canary.</sup>
4244

4345
## Publishing an Experimental Canary
@@ -52,6 +54,8 @@ When publishing an experimental canary, use the `experimental` tag:
5254
scripts/release/publish.js --tags experimental
5355
```
5456

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+
5559
## Publishing a Stable Release
5660

5761
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:
7074
scripts/release/publish.js --tags next latest
7175
```
7276

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+
7379
After successfully publishing the release, follow the on-screen instructions to ensure that all of the appropriate post-release steps are executed.
7480

7581
<sup>1: You can omit the `version` param if you just want to promote the latest canary to stable.</sup>

0 commit comments

Comments
 (0)