@@ -10,10 +10,13 @@ Any file and directory added into this tree should be documented here.
1010
11111 . Update the version of code-server in ` package.json ` and push a commit
12121 . CI will run and generate the ` npm-package ` and ` release-packages ` artifacts on the GH actions workflow
13- 1 . Create a new draft release and attach all files in ` release-packages `
14- 1 . Run some basic sanity tests on one of the released packages
15- 1 . Summarize the major changes in the release notes and link to the relevant issues.
16- 1 . Make sure to mention the VS Code version in the release notes
13+ 1 . Wait for this to complete
14+ 1 . Ensure ` $GITHUB_TOKEN ` is set
15+ 1 . Run ` yarn release:github-draft ` to download the artifacts into ` ./release-packages ` and
16+ open your ` $EDITOR ` with the release notes template
17+ 1 . Summarize the major changes in the release notes and link to the relevant issues.
18+ 1 . Exit your ` $EDITOR ` and a draft release will be created on github
19+ 1 . Run some basic sanity tests on one of the released packages
17201 . Publish the release
1821 1 . CI will automatically grab the artifacts and then
1922 1 . Publish the NPM package
@@ -45,7 +48,7 @@ This directory contains scripts used for the development of code-server.
4548
4649## build
4750
48- This directory contains the scripts used to build code-server.
51+ This directory contains the scripts used to build and release code-server.
4952You can disable minification by setting ` MINIFY= ` .
5053
5154- [ ./lib.sh] ( ./lib.sh )
@@ -74,6 +77,10 @@ You can disable minification by setting `MINIFY=`.
7477 - Used to configure [ nfpm] ( https://github.com/goreleaser/nfpm ) to generate .deb and .rpm
7578- [ ./build/code-server-nfpm.sh] ( ./build/code-server-nfpm.sh )
7679 - Entrypoint script for code-server for .deb and .rpm
80+ - [ ./build/release-github-draft.sh] ( ./build/release-github-draft.sh ) (` yarn release:github-draft ` )
81+ - Downloads the release-package artifact for the current commit from CI
82+ - Uses [ hub] ( https://github.com/github/hub ) to create a draft release with the artifacts and
83+ opens your ` $EDITOR ` to edit with a default template.
7784
7885## release-container
7986
0 commit comments