Skip to content
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

[FR] changeset status --only #1276

Open
quantizor opened this issue Dec 8, 2023 · 1 comment
Open

[FR] changeset status --only #1276

quantizor opened this issue Dec 8, 2023 · 1 comment

Comments

@quantizor
Copy link

Affected Packages

cli

Problem

Would love a simple way to use changeset status in a CLI flow that doesn't involve string parsing or saving to a JSON file such that I can chain commands off it. The specific use case is automating a release for only patches.

Proposed solution

Would love something like changeset status --only patch which exits 0 if only patch changes are detected such that it can be chained like changeset status --only patch && yarn release

@quantizor quantizor changed the title [FR] changeset status --filter [FR] changeset status --only Dec 8, 2023
@eckdanny
Copy link

+1. related to #1308 (comment).

Plz introduce a --strict or (--exit-code a la git) semantics to {version,status} subcommands.

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

No branches or pull requests

2 participants