Merge pull request #14399 from milantracy:ghrelease

PiperOrigin-RevId: 970247553
This commit is contained in:
gVisor bot
2026-08-24 20:04:43 -07:00
+2 -1
View File
@@ -190,7 +190,8 @@ jobs:
# Only mark the newest release tag as "latest", so that backfilling an
# older tag by hand does not move the pointer backwards.
newest="$(git tag --list 'release-*' --sort=-v:refname | head -n1)"
newest="$(git for-each-ref --count=1 --sort=-v:refname \
--format='%(refname:short)' 'refs/tags/release-*')"
if [[ "${TAG}" == "${newest}" ]]; then is_latest=true; else is_latest=false; fi
# The Buildkite release step retries automatically, so this has to be