Skip to content

chore: update cli reference doc - #45622

Merged
ChrisChinchilla merged 1 commit into
masterfrom
cli/ref-doc
May 6, 2026
Merged

ChrisChinchilla merged 1 commit into
masterfrom
cli/ref-doc

Conversation

@supabase-cli-releaser

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented May 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 May 6, 2026 8:54am
7 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored May 6, 2026 8:54am
design-system Skipped Skipped May 6, 2026 8:54am
learn Skipped Skipped May 6, 2026 8:54am
studio-self-hosted Skipped Skipped May 6, 2026 8:54am
studio-staging Skipped Skipped May 6, 2026 8:54am
ui-library Skipped Skipped May 6, 2026 8:54am
zone-www-dot-com Skipped Skipped May 6, 2026 8:54am

Request Review

@supabase

supabase Bot commented May 6, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 6, 2026
@ChrisChinchilla
ChrisChinchilla merged commit 6fe847c into master May 6, 2026
23 checks passed
@ChrisChinchilla
ChrisChinchilla deleted the cli/ref-doc branch May 6, 2026 14:47
pull Bot pushed a commit to oogalieboogalie/cli that referenced this pull request Aug 24, 2026
## TL;DR
fixes the CLI docs reference being frozen at v2.98.2
which was caused by the monorepo merge deleting the Go bumpdoc docs job
from the release workflow,
and is now fixed by a stable-only docs job that regenerates the spec
from the TS command tree and delivers it to supabase/supabase the same
way bumpdoc did...

## whats introduced?
- a `docs` job in release.yml: stable releases only, runs after publish,
non-blocking for the release, and mints the same scoped App token...
- `scripts/publish-docs-spec.ts`: reads the generated spec on stdin,
validates it
(clispec 001, version match, command count) before any network action,
formats it with a pinned prettier to match the published file's style,
then updates the `cli/ref-doc` branch in supabase/supabase and opens a
PR when none is open..
- bumpdoc's append semantics: when `cli/ref-doc` already exists the new
spec lands as a commit on top, so fixes pushed onto an open bot PR
survive later releases
- 6 integration tests for the publisher's refusal and dry-run paths,
plus a README release section describing the automated flow

## how?
stable release now runs `generate-docs-spec.ts "$VERSION" |
publish-docs-spec.ts --version "$VERSION"`
which lands a validated, formatted spec as a commit on `cli/ref-doc` and
opens the
familiar `chore: update cli reference doc` PR for the docs team to merge
-  (same shape as supabase/supabase#45622)
a stable dry run exercises the same pipe with `--dry-run`, which also
verifies the App token mint without pushing anything up..

> [!NOTE]
> will follow up on `supabase/supabase` with a spec-to-sidebar coverage
guard,
so a new command missing a `common-cli-sections.json` entry fails the
bot PR instead of silently publishing no page...

## ref:
- follow up to: supabase#6157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant