Skip to content

fix(cli): bump release build GOVERSION to 1.27.1 - #1292

Merged
jablan merged 1 commit into
mainfrom
fix/cli-release-goversion
Sep 23, 2026
Merged

jablan merged 1 commit into
mainfrom
fix/cli-release-goversion

Conversation

@jablan

@jablan jablan commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • clients/cli/build/config.sh defaulted GOVERSION to 1.24; build.sh uses it to pick the golang:$GOVERSION Docker image for the release cross-compile step
  • Since chore(go): upgrade Go toolchain to 1.27.1 #1277 bumped clients/cli/go.mod to require go >= 1.27.1, phrase-cli release runs started failing: https://github.com/phrase/phrase-cli/actions/runs/35861991189/job/107184185129
    go: go.mod requires go >= 1.27.1 (running go 1.24.13; GOTOOLCHAIN=local)
    
  • clients/cli/build/ is rsynced verbatim into phrase/phrase-cli by the build-cli job in .github/workflows/build.yml (not generated from an openapi-generator template), so the fix belongs in this repo

Test plan

  • Confirmed clients/cli/build/ isn't produced by any openapi-generator/templates/cli/* template or the Makefile's cli target — it's a plain tracked file synced via rsync
  • Next release build in phrase-cli picks up golang:1.27.1 and succeeds

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

@jablan
jablan merged commit 5c061ab into main Sep 23, 2026
13 checks passed
@jablan
jablan deleted the fix/cli-release-goversion branch September 23, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants