Update release process until 4.0 stable is released.
Created by: LawnGnome
This PR will need to be reverted immediately before 4.0 is released, which will be accomplished by merging #828.
In terms of mechanics, we're relying on GoReleaser's automatic detection of pre-releases, combined with .api/src-cli
automatically skipping pre-release versions of src-cli. The only actual changes we need to make are:
- Choosing appropriate version numbers, which are now documented in
DEVELOPMENT.md
, and - Not pushing the
sourcegraph/src-cli
Docker image to thelatest
tag onmain
until we're ready to release 4.0.0 stable.
Closes sourcegraph/sourcegraph#40575.
Test plan
I'm going to make 3.43.1 and 4.0.0-rc.0 releases immediately after merging this.