From f125f355131dfab02a1ffea33df75dbfb722a56f Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 23 Sep 2026 15:06:10 +0200 Subject: [PATCH] fix(cli): bump release build GOVERSION to 1.27.1 clients/cli/build/config.sh defaulted GOVERSION to 1.24, which build.sh uses to pick the golang:$GOVERSION Docker image for the release cross-compile step. Since clients/cli/go.mod now requires go >= 1.27.1, releases were failing in phrase-cli CI with: go: go.mod requires go >= 1.27.1 (running go 1.24.13; GOTOOLCHAIN=local) This file is rsynced verbatim into phrase-cli by the build-cli job in .github/workflows/build.yml, so the fix belongs here, not in that repo. Co-Authored-By: Claude Sonnet 5 --- clients/cli/build/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/cli/build/config.sh b/clients/cli/build/config.sh index dae1b42d5..8378c6799 100644 --- a/clients/cli/build/config.sh +++ b/clients/cli/build/config.sh @@ -4,7 +4,7 @@ set -e wd=$(realpath $(dirname $0)/..) export BUILD_DIR=$(realpath $(dirname $0)/..) pushd $BUILD_DIR > /dev/null -export GOVERSION=${GOVERSION:-1.24} +export GOVERSION=${GOVERSION:-1.27.1} export REVISION=${GIT_COMMIT:-$(git rev-parse HEAD)} export LIBRARY_REVISION=$(cat go.sum | grep github.com/phrase/phrase-go | tail -n 1 | cut -d " " -f 2 | cut -d "-" -f 3 | cut -d "+" -f 1) export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct)