发布

  • ci: simplify CLI binary release workflow (#3121)

    frostbyte_neo 发布于 2026-04-06 08:22:28 +00:00

    Summary

    • Auto-beta on push to next: any merge touching
      ts/packages/cli/** automatically builds binaries and creates a
      @composio/cli@X.Y.Z-beta.<run_number> prerelease. Version = latest
      stable + patch bump.
    • Stable on version bump: if ts/packages/cli/package.json version
      changed in the push commit (i.e. changeset "Release: update version"
      merge), creates a stable release instead.
    • workflow_dispatch build-beta: build a beta from any branch on
      demand.
    • workflow_dispatch promote-stable: promote an existing beta tag
      to stable (unchanged).
    • Removes the old PR-title-gated flow (pull_request trigger with title
      check).

    Test plan

    • Merge into next with a CLI change → verify beta release is
      created
    • Trigger workflow_dispatch with build-beta on a feature branch
      → verify beta release
    • Merge a changeset "Release: update version" PR → verify stable
      release is created
    • Trigger workflow_dispatch with promote-stable + existing beta
      tag → verify stable release

    🤖 Generated with Claude Code


    Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件