Skip to content

Commit 1ac0da9

Browse files
committed
update steps
1 parent db21c90 commit 1ac0da9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/update.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ A new version of Sourcegraph is released every month (with patch releases in bet
66

77
## Steps
88

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.
1012

1113
```bash
1214
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
1420
```
1521

1622
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
2733

2834
## Rollback
2935

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.
3137

3238
_If an update includes a database migration, rollback will require some manual DB
3339
modifications. We plan to eliminate these in the near future, but for now,

0 commit comments

Comments
 (0)