@@ -8,17 +8,15 @@ Any file and directory added into this tree should be documented here.
88
99## Publishing a release
1010
11- 1 . Change the version of code-server in ` package.json ` and push this commit.
12- 1 . CI will run and generate an NPM package and release packages that you can download
13- as artifacts on Github Actions.
14- 1 . Create a new draft release with the built release packages.
15- 1 . Run some basic sanity tests on one of the released packages.
16- 1 . Publish.
17- 1 . Download the built npm package and publish it.
18- 1 . Place the debian releases into ` ./release-packages ` and then push the docker
19- image with ` ./ci/release-container/push.sh ` .
20- 1 . This will need to be ran on an ARM64 instance as well.
21- 1 . At some point we need to automate this.
11+ 1 . Update the version of code-server in ` package.json ` and push a commit
12+ 1 . 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 the files in ` release-packages `
14+ 1 . Run some basic sanity tests on one of the released packages
15+ 1 . Publish the release
16+ 1 . CI will automatically grab the artifacts and then
17+ 1 . Publish the NPM package.
18+ 1 . Publish the AMD64 docker image.
19+ 1 . Publish the ARM64 docker image.
2220
2321## dev
2422
@@ -95,3 +93,10 @@ Just helps avoid clobbering .travis.yml.
9593 - Generates the npm package at ` ./release `
9694- [ ./steps/static-release.sh] ( ./steps/static-release.sh )
9795 - Takes the output of the previous script and generates a static release and packages
96+ - [ ./steps/lib.sh] ( ./steps/lib.sh )
97+ - Contains helpers to download artifacts from github actions workflow runs
98+ - [ ./steps/publish-npm.sh] ( ./steps/publish-npm.sh )
99+ - Grabs the ` npm-package ` release artifact for the current commit and publishes it on NPM
100+ - [ ./steps/publish-docker.sh] ( ./steps/publish-docker.sh )
101+ - Grabs the ` release-packages ` release artifact for the current commit and builds a docker
102+ image with it and publishes that onto docker hub
0 commit comments