3.3.1 Patch Release
Created by: tsenart
3.3.1 Patch Release
-
Create a checklist of the changes that you want to release (i.e. open or merged PRs). - Fixing issue "Cannot use self signed certificate" #3523 (closed): PRs #3524, #3525
-
Communicate your intentions by sending a message to #dev-announce that includes a link to this issue. -
Cherry pick changes into the release 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). -
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 following find . -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) -
Update latestReleaseKubernetesBuild
andlatestReleaseDockerServerImageBuild
(example). -
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.