Skip to content

3.8.1 Patch Release

Created by: lguychard

3.8.1 Release

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

In deploy-sourcegraph:

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 and latestReleaseDockerServerImageBuild (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.