From f74f1721e69a722ff0a90757ec89e64ed34b4711 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 23 Nov 2020 21:07:02 -0500 Subject: [PATCH] doc: Add note on upgrading into release notes and install.md Closes #1652 Closes #2221 --- ci/build/release-github-draft.sh | 4 ++++ doc/install.md | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/ci/build/release-github-draft.sh b/ci/build/release-github-draft.sh index 71cbb714..4e077a35 100755 --- a/ci/build/release-github-draft.sh +++ b/ci/build/release-github-draft.sh @@ -15,6 +15,10 @@ v$VERSION VS Code v$(vscode_version) +Upgrading is as easy as installing the new version over the old one. code-server +maintains all user data in \`~/.local/share/code-server\` so that it is preserved in between +installations. + ## New Features - ⭐ Summarize new features here with references to issues diff --git a/doc/install.md b/doc/install.md index 7515db45..e18d27d0 100644 --- a/doc/install.md +++ b/doc/install.md @@ -2,6 +2,7 @@ # Install +- [Upgrading](#upgrading) - [install.sh](#installsh) - [Flags](#flags) - [Detection Reference](#detection-reference) @@ -19,6 +20,12 @@ This document demonstrates how to install `code-server` on various distros and operating systems. +## Upgrading + +When upgrading you can just install the new version over the old one. code-server +maintains all user data in `~/.local/share/code-server` so that it is preserved in between +installations. + ## install.sh We have a [script](../install.sh) to install code-server for Linux, macOS and FreeBSD.