Repository navigation
chore: update cli reference doc - #45622
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
7 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
ChrisChinchilla
approved these changes
May 6, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.