Skip to content

chore(ci): merge release workflows#5181

Merged
Coly010 merged 2 commits into
developfrom
ci/merge-release-workflows-with-gate
May 6, 2026
Merged

chore(ci): merge release workflows#5181
Coly010 merged 2 commits into
developfrom
ci/merge-release-workflows-with-gate

Conversation

@Coly010
Copy link
Copy Markdown
Contributor

@Coly010 Coly010 commented May 6, 2026

What kind of change does this PR introduce?

Chore - update release workflow

What is the current behavior?

Two separate release pipelines for handling different distribution channels

What is the new behavior?

A single release pipeline with a channel option

Additional context

Add any other context or screenshots.

@Coly010 Coly010 requested a review from a team as a code owner May 6, 2026 09:22
@Coly010 Coly010 self-assigned this May 6, 2026
Copy link
Copy Markdown
Member

@avallete avallete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…rename

- release.yml: three triggers (push develop/main, pull_request_review, workflow_dispatch).
  alpha=manual (v3/next shell), beta=auto on develop, stable=auto on main after FF.
  semantic-release computes X.Y.Z-beta.N (develop) and X.Y.Z (main) in dry-run mode.
- release-shared.yml: add publish-homebrew + publish-scoop jobs gated on
  publish_brew_scoop, App-token-authed via APP_ID + GH_APP_PRIVATE_KEY.
  Drop NPM_TOKEN env from publish step (OIDC trusted publishing via id-token: write
  + bun publish --provenance in publish.ts).
- Restore deploy.yml (weekly cron Tue 02:00 UTC opens develop→main PR via App token)
  and deploy-check.yml (block PRs to main whose head isn't develop).
- Add semantic-release config + version placeholder to apps/cli/package.json.
- Rename umbrella package @supabase/cli → supabase to match historic npm name:
  package.json, nx project refs in apps/cli-e2e + apps/docs, nx run target in
  test.yml, ServiceMap labels and userAgent strings across apps/cli/src,
  smoke-test install specs (handle latest/beta/alpha), tools/release/local-release.ts
  log/example output, and docs (AGENTS.md, CONTRIBUTING.md, READMEs, ADR 0011,
  release-process.md fuller rewrite). Platform/sibling packages (@supabase/cli-*,
  @supabase/cli-e2e, @supabase/cli-test-helpers) stay scoped.
- publish.ts: extend --tag validation to {latest, alpha, beta}, add --provenance
  to all bun publish calls, resolve umbrella name from package.json.

npm-side prerequisite: configure Trusted Publisher on npmjs.com for `supabase`
(formerly @supabase/cli) and the eight @supabase/cli-<platform> packages,
pointing at supabase/cli + release.yml, before this lands.
@Coly010 Coly010 force-pushed the ci/merge-release-workflows-with-gate branch from 54836b1 to 5aa019a Compare May 6, 2026 11:10
@Coly010 Coly010 merged commit b28104f into develop May 6, 2026
7 checks passed
@Coly010 Coly010 deleted the ci/merge-release-workflows-with-gate branch May 6, 2026 11:21
@supabase-cli-releaser supabase-cli-releaser Bot mentioned this pull request May 12, 2026
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