You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom-domain commands refuse a production branch that is not named production or main #292
The CLI decides whether a branch is the production branch by its name, not its role. toBranchKind in packages/cli/src/commands/service/target.ts returns production only for a branch named production or main, and the domain commands then refuse any other branch.
A project whose production branch has another name cannot manage custom domains. The API's branch record already carries a role field (read in packages/cli/src/lib/app/app-provider.ts), so the check can use it instead of the name.
Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:
Activity