Remove --allow-dirty
option (v2) …
#719
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… from
cargo publish
calls in the CI/CD workflows, because this option prevents creating a.cargo_vcs_info.json
file. This should (really) close rust-lang/crates.io#8551, see there for details.Now a
cargo package
with--allow-dirty
executes all steps acargo publish
does except publishing, then the changes are committed back to the git repo and lastlycargo publish
is run; for details see last paragraph of #702 (comment).Supersedes PR #702
Signed-off-by: olf [email protected]