diff --git a/CHANGELOG.md b/CHANGELOG.md index 353119cd..9ce697e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,17 +3,19 @@ # Changelog - [Changelog](#changelog) - - [Next Version](#next-version) + - [3.10.2](#3102) - [New Features](#new-features) - - [3.10.1](#3101) - [Bug Fixes](#bug-fixes) - - [Documentation](#documentation) - [Development](#development) + - [3.10.1](#3101) + - [Bug Fixes](#bug-fixes-1) + - [Documentation](#documentation) + - [Development](#development-1) - [3.10.0](#3100) - [New Features](#new-features-1) - - [Bug Fixes](#bug-fixes-1) + - [Bug Fixes](#bug-fixes-2) - [Documentation](#documentation-1) - - [Development](#development-1) + - [Development](#development-2) - [Previous versions](#previous-versions) @@ -53,14 +55,22 @@ VS Code v0.00.0 --> -## Next Version +## 3.10.2 VS Code v1.56.1 ### New Features -- feat: support `extraInitContainers` in helm chart values -- feat: change `extraContainers` to support templating in helm chart +- feat: support `extraInitContainers` in helm chart values #3393 @strowk +- feat: change `extraContainers` to support templating in helm chart #3393 @strowk + +### Bug Fixes + +- fix: use correct command to Open Folder on Welcome page #3437 @jsjoeio + +### Development + +- fix(ci): update brew-bump.sh to update remote first #3438 @jsjoeio ## 3.10.1 @@ -79,7 +89,6 @@ VS Code v1.56.1 - docs(maintaining): add merge strategies section #3379 @jsjoeio - refactor: move default PR template #3375 @jsjoeio - docs(contributing): add commits section #3377 @jsjoeio -- docs(maintaining): add process for release managers #3360 @jsjoeio ### Development diff --git a/README.md b/README.md index 3b8499e7..b9515913 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # code-server · [!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/cdr/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://cdr.co/join-community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) [![codecov](https://codecov.io/gh/cdr/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/cdr/code-server) -[![See latest docs](https://img.shields.io/static/v1?label=Docs&message=see%20latest%20&color=blue)](https://github.com/cdr/code-server/tree/v3.10.1/docs) +[![See latest docs](https://img.shields.io/static/v1?label=Docs&message=see%20latest%20&color=blue)](https://github.com/cdr/code-server/tree/v3.10.2/docs) Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser. diff --git a/ci/build/release-prep.sh b/ci/build/release-prep.sh index 0ee20e7c..04ee0e07 100755 --- a/ci/build/release-prep.sh +++ b/ci/build/release-prep.sh @@ -83,10 +83,6 @@ main() { echo -e "Great! We'll prep a PR for updating to $CODE_SERVER_VERSION_TO_UPDATE\n" $CMD rg -g '!yarn.lock' -g '!*.svg' -g '!CHANGELOG.md' --files-with-matches --fixed-strings "${CODE_SERVER_CURRENT_VERSION}" | $CMD xargs sd "$CODE_SERVER_CURRENT_VERSION" "$CODE_SERVER_VERSION_TO_UPDATE" - # Ensure the tests are passing and code coverage is up-to-date - echo -e "Running unit tests and updating code coverage...\n" - $CMD yarn test:unit - $CMD git commit -am "chore(release): bump version to $CODE_SERVER_VERSION_TO_UPDATE" # This runs from the root so that's why we use this path vs. ../../ @@ -94,7 +90,7 @@ main() { echo -e "\nOpening a draft PR on GitHub" # To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create - $CMD gh pr create --base main --title "release: $CODE_SERVER_VERSION_TO_UPDATE" --body "$RELEASE_TEMPLATE_STRING" --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft + $CMD gh pr create --base main --title "release: $CODE_SERVER_VERSION_TO_UPDATE" --body "$RELEASE_TEMPLATE_STRING" --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft --assignee "@me" # Open PR in browser $CMD gh pr view --web diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index f0f2c00d..61fa200f 100644 --- a/ci/helm-chart/Chart.yaml +++ b/ci/helm-chart/Chart.yaml @@ -20,4 +20,4 @@ version: 1.0.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 3.10.1 +appVersion: 3.10.2 diff --git a/ci/helm-chart/README.md b/ci/helm-chart/README.md index 65cb204e..3fd1a0af 100644 --- a/ci/helm-chart/README.md +++ b/ci/helm-chart/README.md @@ -1,6 +1,6 @@ # code-server -![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.10.1](https://img.shields.io/badge/AppVersion-3.10.1-informational?style=flat-square) +![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.10.2](https://img.shields.io/badge/AppVersion-3.10.2-informational?style=flat-square) [code-server](https://github.com/cdr/code-server) code-server is VS Code running on a remote server, accessible through the browser. @@ -73,7 +73,7 @@ and their default values. | hostnameOverride | string | `""` | | | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"codercom/code-server"` | | -| image.tag | string | `"3.10.1"` | | +| image.tag | string | `"3.10.2"` | | | imagePullSecrets | list | `[]` | | | ingress.enabled | bool | `false` | | | nameOverride | string | `""` | | diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index c3ac330a..647debeb 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: codercom/code-server - tag: '3.10.1' + tag: '3.10.2' pullPolicy: Always imagePullSecrets: [] diff --git a/ci/steps/brew-bump.sh b/ci/steps/brew-bump.sh index 0d669f29..4e450025 100755 --- a/ci/steps/brew-bump.sh +++ b/ci/steps/brew-bump.sh @@ -5,9 +5,36 @@ main() { cd "$(dirname "$0")/../.." # Only sourcing this so we get access to $VERSION source ./ci/lib.sh + + # NOTE: we need to make sure cdrci/homebrew-core + # is up-to-date + # otherwise, brew bump-formula-pr will use an + # outdated base + echo "Cloning cdrci/homebrew-core" + git clone https://github.com/cdrci/homebrew-core.git + + echo "Changing into homebrew-core directory" + cd homebrew-core && pwd + + echo "Adding Homebrew/homebrew-core as $(upstream)" + git remote add upstream https://github.com/Homebrew/homebrew-core.git + + echo "Fetching upstream commits..." + git fetch upstream + + echo "Merging in latest changes" + git merge upstream/master + + echo "Pushing changes to cdrci/homebrew-core fork on GitHub" + git push origin master + # Find the docs for bump-formula-pr here # https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18 brew bump-formula-pr --force --version="${VERSION}" code-server --no-browse --no-audit + + # Clean up and remove homebrew-core + cd .. + rm -rf homebrew-core } main "$@" diff --git a/install.sh b/install.sh index 3b2a2f93..c12f23de 100755 --- a/install.sh +++ b/install.sh @@ -419,7 +419,7 @@ install_npm() { echoh echoerr "Please install npm or yarn to install code-server!" echoerr "You will need at least node v12 and a few C dependencies." - echoerr "See the docs https://github.com/cdr/code-server/blob/v3.10.1/docs/install.md#yarn-npm" + echoerr "See the docs https://github.com/cdr/code-server/blob/v3.10.2/docs/install.md#yarn-npm" exit 1 } diff --git a/lib/vscode/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts b/lib/vscode/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts index b0023873..af4cb687 100644 --- a/lib/vscode/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts +++ b/lib/vscode/src/vs/workbench/contrib/welcome/page/browser/vs_code_welcome_page.ts @@ -20,7 +20,7 @@ export default () => `