This is an automated email from the ASF dual-hosted git repository. zeroshade pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push: new 622e0acf fix: verify_rc.sh should fetch the latest go version (#565) 622e0acf is described below commit 622e0acf630da9b1b479d44068ff236890e13c0f Author: Tobias Pütz <tob...@minio.io> AuthorDate: Wed Sep 17 22:33:19 2025 +0200 fix: verify_rc.sh should fetch the latest go version (#565) --- dev/release/verify_rc.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/dev/release/verify_rc.sh b/dev/release/verify_rc.sh index ac03509f..42123908 100755 --- a/dev/release/verify_rc.sh +++ b/dev/release/verify_rc.sh @@ -120,13 +120,12 @@ latest_go_version() { options+=("--header" "Authorization: Bearer ${GITHUB_TOKEN}") fi curl \ - "${options[@]}" \ - https://api.github.com/repos/golang/go/git/matching-refs/tags/go | - grep -o '"ref": "refs/tags/go.*"' | - tail -n 1 | - sed \ - -e 's,^"ref": "refs/tags/go,,g' \ - -e 's/"$//g' + "${options[@]}" \ + https://api.github.com/repos/golang/go/git/matching-refs/tags/go | + jq -r ' .[] | .ref' | + sort -V | + tail -1 | + sed 's,refs/tags/go,,g' } ensure_go() {