v3.4.5 Patch Release
Created by: slimsag
v3.4.5 Release
-
Create a checklist of the changes that you want to release (i.e. open or merged PRs). -
ebadefe170ac67ed944aaccd05e47843fcff786b -
9a64ff29094c966ad75f6f314ccbe2293655e4da -
306fdf87f8ccd8da2515c3e8c30fbb44be8b5e30 -
6d3f2c42663aab381f48e306473adc2e15aab8e3
-
-
Communicate your intentions by sending a message to #dev-announce that includes a link to this issue. -
Cherry pick changes into the existing release branch (this exists already as MAJOR.MINOR
, do not create a new branch) and check them off the list above.-
Ensure that the cherry-picked commits don't depend on any commits that aren't already in the release branch.
-
-
Push the release branch with your cherry-picked commit(s) and make sure CI passes.
Release sourcegraph/server
-
Create an annotated git tag and push it (this triggers CI to build the Docker images for the new version). For example: VERSION='v3.2.1-rc.1' bash -c 'git tag -a "$VERSION" -m "$VERSION" && git push origin "$VERSION"'
-
Wait for the final Docker images to be available at https://hub.docker.com/r/sourcegraph/server/tags.
Release Kubernetes deployment
-
Wait for Renovate to open a PR to update the image tags and merge that PR (example).Manual -
Follow the "Cutting a new patch version" instructions in https://github.com/sourcegraph/deploy-sourcegraph/blob/master/README.dev.md
Update the docs
-
Update the version (major.minor.patch) of Sourcegraph in the docs (example) by running the followingfind . -type f -name '*.md' -exec sed -i '' -E 's/sourcegraph\/server:[0-9\.]+/sourcegraph\/server:$NEW_VERSION/g' {} +
-
Update versions in docs.sourcegraph.com template (example) -
UpdatelatestReleaseKubernetesBuild
andlatestReleaseDockerServerImageBuild
(example). -
Update deploy-aws version -
Update deploy-digitalocean version -
Message @slimsag on Slack: MAJOR.MINOR.PATCH has been released, update deploy-sourcegraph-docker as needed
-
Create a new section for the patch version in the changelog. Verify that all changes that have been cherry picked onto the release branch have been moved to this section of the CHANGELOG on master
. -
Post a reply in the #dev-announce thread to say that the release is complete.