You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/update.md
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,17 @@ A new version of Sourcegraph is released every month (with patch releases in bet
6
6
7
7
## Steps
8
8
9
-
1. Following the [forking instructions in docs/configure.md](configure.md#fork-this-repository), rebase your fork on the new version tag from https://github.com/sourcegraph/deploy-sourcegraph/releases
9
+
These steps assume that you followed the [forking instructions in docs/configure.md](configure.md#fork-this-repository)
10
+
11
+
1. Merge the new version of Sourcegraph into your release branch.
10
12
11
13
```bash
12
14
cd$DEPLOY_SOURCEGRAPH_FORK
13
-
git rebase $VERSION# Choose which version you want to deploy from https://github.com/sourcegraph/deploy-sourcegraph/releases
15
+
git fetch
16
+
git checkout release
17
+
18
+
# Choose which version you want to deploy from https://github.com/sourcegraph/deploy-sourcegraph/releases
19
+
git merge $VERSION
14
20
```
15
21
16
22
1. Deploy the updated version of Sourcegraph to your Kubernetes cluster:
@@ -27,7 +33,7 @@ A new version of Sourcegraph is released every month (with patch releases in bet
27
33
28
34
## Rollback
29
35
30
-
You can rollback by performing the [update steps](#steps)with the previous version.
36
+
You can rollback by resetting your `release` branch to the old state and proceeding with step 2 above.
31
37
32
38
_If an update includes a database migration, rollback will require some manual DB
33
39
modifications. We plan to eliminate these in the near future, but for now,
0 commit comments