RELEASE.md
This document contains instructions for releasing Linkerd2.
Determine the commit SHA or tag of the linkerd2-proxy repo to be included in
the release.
The proxy-version
file is kept in sync automatically by the
sync-proxy
workflow. If the file is already at the desired SHA or tag, skip to step 2.
If updating to linkerd-proxy HEAD, note the commit SHA at
latest.txt (Look for
linkerd2-proxy-<linkerd2-proxy-sha>.tar.gz).
If the linkerd2/proxy-init or linkerd2/cni-plugin projects have a new
release (which is rare), the following updates are needed:
pkg/version/version.go (this also implies changes in unit test fixtures)
var ProxyInitVersion = "v2.3.0"
var LinkerdCNIVersion = "v1.4.0"
charts/linkerd-control-plane/values.yaml
Upgrade the version in global.proxyInit.image.version
charts/linkerd2-cni/values.yaml
Upgrade the version in image.version
Create a new branch in the linkerd2 repo,
username/proxy-init-version-bump.
Open a pull request that includes the changes.
main branch, and be sure to pull the latest changes.main, with a tag of the form edge-YY.M.N, where
YY is the year, M is the month, and N is the nth release of the month.TAG="edge-YY.M.N"
git switch main
git pull --tags --prune
git tag $TAG HEAD
git push --tags
That will kick off a CI Release workflow run that will:
You can locate the CI run on the actions page.