Skip to content

build(API): move latest tag on new CLI release - #1378

Merged
jablan merged 1 commit into
mainfrom
ci/cli-move-latest-tag
Nov 23, 2026
Merged

jablan merged 1 commit into
mainfrom
ci/cli-move-latest-tag

Conversation

@jablan

@jablan jablan commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • build-cli in build.yml now force-moves a latest tag in phrase-cli to the new version tag, but only when a new CLI release tag is cut (not on routine deploy pushes), so latest never points at unreleased master content.
  • The CLI release.yml (source of truth in clients/cli/.github/workflows/, rsynced into phrase-cli on deploy) excludes latest from its tag trigger ('!latest'), so moving the tag does not start a second release run (Docker push, Homebrew bump).
  • CLI only: other client libraries trigger publishing workflows on any tag, so they are deliberately left alone.

Context

Related to phrase/phrase-cli#187 (phrase-cli master does not build because it is generated from a newer spec than the pinned phrase-go release). This PR does not fix that; it gives users a stable latest tag to build from instead of master. The underlying fix is a phrase-go release and a go.mod bump in phrase-cli.

Notes

  • Not tested end to end: the YAML parses and the tag command was checked in a scratch repo. First real check is the next CLI release, where the latest push should not start a run in phrase-cli Actions.
  • latest moves when the version tag is pushed, i.e. before binaries are signed and published.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.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 c1261f5 into main Nov 23, 2026
15 checks passed
@jablan
jablan deleted the ci/cli-move-latest-tag branch November 23, 2026 07:46
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.

3 participants