From e9fe4c04668301bad313287299f0a895dac7e48b Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 8 May 2020 01:42:46 -0400 Subject: [PATCH] Document release process --- .github/workflows/ci.yaml | 2 +- ci/README.md | 14 ++++++++++++++ package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 411f5e9d..ffb864fd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -66,7 +66,7 @@ jobs: name: release-packages path: ./release-packages - macos: + macos-amd64: needs: release runs-on: macos-latest steps: diff --git a/ci/README.md b/ci/README.md index bf9e1875..038f3aab 100644 --- a/ci/README.md +++ b/ci/README.md @@ -6,6 +6,20 @@ Many of these scripts contain more detailed documentation and options in comment Any file and directory added into this tree should be documented here. +## Publishing a release + +1. Change the version of code-server in `package.json` and push this commit. +1. CI will run and generate an NPM package and release packages that you can download + as artifacts on Github Actions. +1. Create a new draft release with the built release packages. +1. Run some basic sanity tests on one of the released packages. +1. Publish. +1. Download the built npm package and publish it. +1. Place the debian releases into `./release-packages` and then push the docker + image with `./ci/release-container/push.sh`. + 1. This will need to be ran on an ARM64 instance as well. + 1. At some point we need to automate this. + ## dev This directory contains scripts used for the development of code-server. diff --git a/package.json b/package.json index b6a311c6..05287881 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "vfile-message": "^2.0.2" }, "dependencies": { - "@coder/logger": "1.1.14", + "@coder/logger": "1.1.11", "adm-zip": "^0.4.14", "fs-extra": "^8.1.0", "http-proxy": "^1.18.0", diff --git a/yarn.lock b/yarn.lock index 8a5195a6..473107bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -792,10 +792,10 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" -"@coder/logger@1.1.14": - version "1.1.14" - resolved "https://registry.yarnpkg.com/@coder/logger/-/logger-1.1.14.tgz#0242da33e0245834361dd078e31280fc1c976b7e" - integrity sha512-NuTvsOH3dqrXn/8Pbs5zy7l0gLqOSC/TPRl3nexdP/897lgG/vtHNQHrUwTBTzTzihH1ON4lklDxJjY0hD4UPg== +"@coder/logger@1.1.11": + version "1.1.11" + resolved "https://registry.yarnpkg.com/@coder/logger/-/logger-1.1.11.tgz#e6f36dba9436ae61e66e3f66787d75c768617605" + integrity sha512-EEh1dqSU0AaqjjjMsVqumgZGbrZimKFKIb4t5E6o3FLfVUxJCReSME78Yj2N1xWUVAHMnqafDCxLostpuIotzw== "@iarna/toml@^2.2.0": version "2.2.5"