-
-
Notifications
You must be signed in to change notification settings - Fork 255
docs: add interactive release mode documentation #5467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
fdb8243
1a5b565
d3e5774
b527cbf
43cf3ac
20a0716
3da6217
77f27fc
c9823c1
de05bad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -189,7 +189,9 @@ Have changes that you need to release? There are a few things to understand: | |
| - Unlike clients, releases are not issued on a schedule; **anyone may create a release at any time**. Because of this, you may wish to review the Pull Requests tab on GitHub and ensure that no one else has a release candidate already in progress. If not, then you are free to start the process. | ||
| - The release process is a work in progress. Further improvements to simplify the process are planned, but in the meantime, if you encounter any issues, please reach out to the Wallet Framework team. | ||
|
|
||
| Now for the process itself: | ||
| Now for the process itself, you have two options: | ||
|
|
||
| ### Option A: Manual Release Specification | ||
|
|
||
| 1. **Start by creating the release branch.** | ||
|
|
||
|
|
@@ -211,6 +213,8 @@ Now for the process itself: | |
|
|
||
| Once you've made the requisite changes to the YAML file, save it and re-run `yarn create-release-branch`. You may need to repeat this step multiple times until you don't see any more errors. | ||
|
|
||
| <a id="review-changelogs"></a> | ||
|
|
||
| 4. **Review and update changelogs for relevant packages.** | ||
|
|
||
| Once the tool proceeds without issue, you will be on the new release branch. In addition, each package you intend to release has been updated in two ways: | ||
|
|
@@ -249,6 +253,45 @@ Now for the process itself: | |
|
|
||
| You're done! | ||
|
|
||
| ### Option B: Interactive Mode | ||
|
||
|
|
||
| You can use the interactive web UI to streamline the release process by running: | ||
| `yarn create-release-branch -i` | ||
|
|
||
| This will: | ||
|
|
||
| 1. Start a local web server (default port 3000) | ||
|
|
||
| 2. Open a browser interface showing all packages with changes since their last release | ||
|
|
||
| 3. Allow you to visually select which packages to include in the release | ||
|
|
||
| 4. Provide instant validation of your selections, including: | ||
|
|
||
| - Identifying packages that need updates when their dependencies are being released | ||
| - Flagging packages that need to be included when their peer dependencies are being updated | ||
| - Validating version bumps against semantic versioning rules | ||
| - Ensuring all necessary dependent packages are included in the release | ||
|
|
||
| 5. Once your selections are complete, it will directly create the release branch with all necessary version bumps and changelog updates | ||
|
|
||
| For example: | ||
cryptodev-2s marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - If you're releasing Package A that depends on Package B, the UI will prompt you to include Package B | ||
| - If you're releasing Package B with breaking changes, the UI will identify any packages that have peer dependencies on Package B that need to be updated | ||
|
|
||
| You can specify a different port if needed: | ||
cryptodev-2s marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| `yarn create-release-branch -i -p 3001` | ||
|
|
||
| The interactive UI simplifies the release process by: | ||
|
|
||
| - Providing immediate feedback on your package selections | ||
| - Visualizing package dependencies and relationships | ||
| - Ensuring complete and valid release configurations | ||
| - Eliminating the need to manually edit release specifications | ||
cryptodev-2s marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| After completing your selections in the UI, proceed to [reviewing and updating changelogs](#review-changelogs). | ||
|
|
||
| ## Performing operations across the monorepo | ||
|
|
||
| This repository relies on Yarn's [workspaces feature](https://yarnpkg.com/features/workspaces) to provide a way to work with packages individually and collectively. Refer to the documentation for the following Yarn commands for usage instructions: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.