ci: more reliable compat_pr (#11989)

Potentially running code from the future is a bit scary in terms of
compatibility.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2021-12-06 16:13:37 +01:00 committed by GitHub
parent c29f4d333b
commit 9fa3c76b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,8 +186,6 @@ jobs:
fi
done
trap "git checkout $(branch_sha)" EXIT
git checkout origin/main
cp .bazelrc compatibility/
compatibility/update-versions.sh
git add compatibility/versions.bzl compatibility/maven_install.json