Skip to content

Commit 5f9b3ca

Browse files
author
Akash Satheesan
authored
Merge pull request #3473 from Prashant168/patch-2
Pasted "Publishing A Release" in the 'MAINTAINING.md' file
2 parents af9b2bf + 24f3294 commit 5f9b3ca

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/MAINTAINING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,25 @@ If you're the current release manager, follow these steps:
9999
1. Create a [release issue](../.github/ISSUE_TEMPLATE/release.md)
100100
2. Fill out checklist
101101
3. After release is published, close release milestone
102+
103+
## Publishing a release
104+
105+
1. Run `yarn release:prep` and type in the new version i.e. 3.8.1
106+
2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts.
107+
1. You do not have to wait for these.
108+
3. Run `yarn release:github-draft` to create a GitHub draft release from the template with
109+
the updated version.
110+
1. Summarize the major changes in the release notes and link to the relevant issues.
111+
2. Change the @ to target the version branch. Example: `v3.9.0 @ Target: v3.9.0`
112+
4. Wait for the artifacts in step 2 to build.
113+
5. Run `yarn release:github-assets` to download the `release-packages` artifact.
114+
- It will upload them to the draft release.
115+
6. Run some basic sanity tests on one of the released packages.
116+
- Especially make sure the terminal works fine.
117+
7. Publish the release and merge the PR.
118+
1. CI will automatically grab the artifacts and then:
119+
1. Publish the NPM package from `npm-package`.
120+
2. Publish the Docker Hub image from `release-images`.
121+
8. Update the AUR package.
122+
- Instructions on updating the AUR package are at [cdr/code-server-aur](https://github.com/cdr/code-server-aur).
123+
9. Wait for the npm package to be published.

0 commit comments

Comments
 (0)