|
13 | 13 | - [Changelog](#changelog)
|
14 | 14 | - [Release](#release)
|
15 | 15 | - [Release Manager Rotation](#release-manager-rotation)
|
| 16 | + - [Publishing a release](#publishing-a-release) |
16 | 17 |
|
17 | 18 | <!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
18 | 19 |
|
@@ -99,3 +100,25 @@ If you're the current release manager, follow these steps:
|
99 | 100 | 1. Create a [release issue](../.github/ISSUE_TEMPLATE/release.md)
|
100 | 101 | 2. Fill out checklist
|
101 | 102 | 3. After release is published, close release milestone
|
| 103 | + |
| 104 | +### Publishing a release |
| 105 | + |
| 106 | +1. Run `yarn release:prep` and type in the new version i.e. 3.8.1 |
| 107 | +2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts. |
| 108 | + 1. You do not have to wait for these. |
| 109 | +3. Run `yarn release:github-draft` to create a GitHub draft release from the template with |
| 110 | + the updated version. |
| 111 | + 1. Summarize the major changes in the release notes and link to the relevant issues. |
| 112 | + 2. Change the @ to target the version branch. Example: `v3.9.0 @ Target: v3.9.0` |
| 113 | +4. Wait for the artifacts in step 2 to build. |
| 114 | +5. Run `yarn release:github-assets` to download the `release-packages` artifact. |
| 115 | + - It will upload them to the draft release. |
| 116 | +6. Run some basic sanity tests on one of the released packages. |
| 117 | + - Especially make sure the terminal works fine. |
| 118 | +7. Publish the release and merge the PR. |
| 119 | + 1. CI will automatically grab the artifacts and then: |
| 120 | + 1. Publish the NPM package from `npm-package`. |
| 121 | + 2. Publish the Docker Hub image from `release-images`. |
| 122 | +8. Update the AUR package. |
| 123 | + - Instructions on updating the AUR package are at [cdr/code-server-aur](https://github.com/cdr/code-server-aur). |
| 124 | +9. Wait for the npm package to be published. |
0 commit comments