-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Remove --allow-dirty
option (v2) …
#718
Conversation
… from `cargo publish` call and expand CI step names. This should (really) close rust-lang/crates.io#8551 , see there for details. Signed-off-by: olf <[email protected]>
… from `cargo publish` call and expand CI step names. This should (really) close rust-lang/crates.io#8551 , see there for details. Signed-off-by: olf <[email protected]>
Please squash-merge this PR. P.S.: It might make sense to publish the |
Thank you for the PR! I don't want to skip the verification done by In the longer term this whole workflow needs to be drastically simplifed. Instead of bumping the version by itself and adding a git tag, it should be invoked by a tag being pushed - same as the |
Also, sadly CI requires signoff on individual commits. You can either use |
As this build verification was performed by As it sure does not make much sense to run the same build test twice within less than a second, I can move the
Yes, sounds plausible. But is this reasoning just for stating that the whole approach here is dismissed by you?
Without a local git repo I sure cannot run |
You can find the command here: https://github.com/CycloneDX/cyclonedx-rust-cargo/runs/25402576811 You should be able to run it in Github Codespaces. They are free up to a certain monthly cap, and provide a terminal with the full Git CLI. |
… 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]