-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cli): allow using auto-updates in unattended mode #6897
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
No changes to documentation |
Component Testing Report Updated Jun 11, 2024 9:55 PM (UTC)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change in copy! I also found this confusing until we updated.
From a glance this looks fine, and I'll look ahead to PRs that include tests.
packages/sanity/src/_internal/cli/commands/build/buildCommand.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Espen Hovlandsdal <[email protected]>
Description
Respects unattended mode when using
auto-updates
flagWhat to review
npx sanity build --auto-updates
If not using unattended mode it will default to no
npx sanity build --auto-updates -y
If using unattended mode it will default to yes and not show the prompt
Testing
Don't have specific tests for this, I will make a follow up PR to add tests for build command with auto-updates in general
Notes for release
N/A