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

fix: make dirty check more resilient #668

Merged

Conversation

maxmoehl
Copy link
Member

Creating a release will fail even in a clean repo because of unexpected output from git-status when using a non-standard git-status configuration. This commit switches the check from --short to --porcelain which is intended to produce stable, machine-readable output similar to --short.

Resolves: #667

Creating a release will fail even in a clean repo because of unexpected
output from git-status when using a non-standard git-status
configuration. This commit switches the check from `--short` to
`--porcelain` which is intended to produce stable, machine-readable
output similar to `--short`.

Resolves: cloudfoundry#667
@beyhan beyhan merged commit df5b5b7 into cloudfoundry:main Oct 17, 2024
3 checks passed
aramprice added a commit that referenced this pull request Oct 17, 2024
@maxmoehl maxmoehl deleted the maxmoehl/fix-git-status-check branch October 18, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Unable to create a release when custom git-status output is active
3 participants