Skip to content

Updated release script documentation and command names#17929

Merged
bvaughn merged 3 commits intofacebook:masterfrom
bvaughn:release-channels
Feb 5, 2020
Merged

Updated release script documentation and command names#17929
bvaughn merged 3 commits intofacebook:masterfrom
bvaughn:release-channels

Conversation

@bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Jan 29, 2020

Updated our team's release script documentation and command names to match what our public release channel process says.

  • Update release script README to match new process
  • Remove all references to "canary" since it's overloaded at this point.
  • Run through all of the command steps after making the changes (with --dry on for publishing) to make sure everything still works.
  • Update example build ids and release version numbers to ones that actually work (given more recent changes to build pipeline).

@bvaughn bvaughn requested review from acdlite and gaearon January 29, 2020 22:27
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 29, 2020

```sh
scripts/release/publish.js --tags next latest
scripts/release/publish.js --tags latest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this is arguably a significant change. If "next" releases are identified as always being 0.0.0-, and "latest" releases are always semver numbers, it doesn't make sense for us to update next to match latest on a stable release. I think that's fine though.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 29, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 39baee9:

Sandbox Source
smoosh-http-95j4p Configuration

if (tags.includes('next')) {
console.log(
theme`{error Stable release} {version ${version}} {error cannot be tagged as} {tag canary}`
theme`{error Stable release} {version ${version}} {error cannot be tagged as} {tag next}`
Copy link
Contributor Author

@bvaughn bvaughn Jan 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This goes with my other comment about preventing us from tagging a semver range as next. If others feel we should relax this constraint, I could undo this check.

@sizebot
Copy link

sizebot commented Jan 29, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 39baee9

@sizebot
Copy link

sizebot commented Jan 29, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 39baee9

Copy link
Contributor

@threepointone threepointone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love how all the additional quotes makes it sound sarcastic. Yeah sure, that's our [excessive bunny quotes] "next" release.

While I don't feel strongly about not tagging semver releases with next, I'll admit it does feel odd. No harm in trying it out for a while though. As long as we publish next releases regularly.

This script prompts for new (stable) release versions for each public package and updates the package contents (both `package.json` and inline version numbers) to match. It also updates inter-package dependencies to account for the new versions.

Canary release have already been tested but it is still a good idea to **manually test and verify a release** before publishing to ensure that e.g. version numbers are correct. Upon completion, this script prints manual testing instructions.
Next release have already been tested but it is still a good idea to **manually test and verify a release** before publishing to ensure that e.g. version numbers are correct. Upon completion, this script prints manual testing instructions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Next release have already been tested but it is still a good idea to **manually test and verify a release** before publishing to ensure that e.g. version numbers are correct. Upon completion, this script prints manual testing instructions.
This release has already been tested, but it is still a good idea to **manually test and verify a release** before publishing to ensure that e.g. version numbers are correct. Upon completion, this script prints manual testing instructions.

Brian Vaughn and others added 2 commits February 5, 2020 08:51
Co-Authored-By: Sunil Pai <threepointone@oculus.com>
@bvaughn bvaughn merged commit 9e158c0 into facebook:master Feb 5, 2020
@bvaughn bvaughn deleted the release-channels branch February 5, 2020 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants