-
Notifications
You must be signed in to change notification settings - Fork 112
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
publish
ignores dirty files that release
does not
#336
Comments
Does Whats your btw have you considered setting |
|
Yes, that should quiet There is still an issue with |
publish
ignores dirty files that release
does not
When skipping consolidated commits, we check each released packages directory for dirty but we commit files in all locations. We need to commit all because editing a package can modify the lock file or other crate's dependencies. So we change the dirty check to match commit. Inspired by crate-ci#336
Just remembered that we have to be more generous than In fact, we need to be more generous than we currently are, so created #391 |
I always create a
target
symlink in each workspace, to store Cargo's generated files on a different file system. But cargo release warns about it, like this:That forces me to delete the symlink before running
cargo release
, which then causescargo publish
to recreate the target directory, but this time as a regular directory instead of a symlink.Would it be possible to make cargo-release ignore
target
when doing its git dirty check?The text was updated successfully, but these errors were encountered: