Closed Veetaha closed 12 months ago
Btw, I think you should release the 0.4.2 crates manually, just one more time to make the github-action-test
jobs pass. Now they fail on:
× Lint crate marker_lints uses the version of marker_api 0.4.1 that is incompatible with the version of marker_api 0.4.2 used in the
│ driver
help: update either the marker_api dependency in marker_lints or update the driver to the latest version
Hmm, I've installed cargo-release v0.25.0
by running cargo install cargo-release
, checkout out the v0.4.2 tag and ran the command from this PR and got an error:
The reference to marker_error = { version = "0.3.0-dev" }
confuses me. I also can't find any references to it, when searching for 0.3.0
or marker_error
in the repo. Do you have an idea, where this could come from?
Edit 1: Maybe nevermind, this is still a try run for some reason :thinking:
Edit 2: Year running it with --execute
works. This was probably a change from the version of cargo-release
we use in the repo, which is 0.24.11
The line marker_error = { version = "0.3.0-dev" }
is just a useless "help message". The actual error is:
failed to select a version for the requirement `marker_error = "^0.4.2"`
candidate versions found which didn't match: 0.4.1, 0.4.0, 0.3.0, ...
Maybe the "dry run" mode of cargo release doesn't take into account that this package would be uploaded as part of the same release command. Probably because cargo package
requires the crates to be published during packaging
Yup, everything worked now. Guess this leaves the question, if we want to update the cargo-release
version of our CI to v0.25^. We can also merge the PR as is :)
Updated cargo release
version, thanks
I was confused by this warning on CI
It looked to me as if cargo release wanted to do a commit and push changes to the remote. I still don't understand why that warning is emitted because
cargo release
is used only for publishing. Maybe that's a micro-bug incargo-release
. Anyway, this time it was me who broke crates publishing. Hopefully, this was the last obstacle