You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo release bumps the version to the not yet released one.
cargo publish now seems to require the dev-dependencies to be present:
error: failed to verify package tarball
Caused by:
failed to select a version for the requirement `cosmwasm-std = "^2.1.0"`
candidate versions found which didn't match: 2.1.0-rc.1, 2.0.4, 2.0.3, ...
location searched: crates.io index
required by package `cosmwasm-derive v2.1.0 (/Users/christoph/Projects/cosmwasm/target/package/cosmwasm-derive-2.1.0)`
if you are looking for the prerelease package it needs to be specified explicitly
cosmwasm-std = { version = "2.1.0-rc.1" }
perhaps a crate was updated and forgotten to be re-vendored?
I see two ways of avoiding this:
depend on an older version for the dev-dependency and make sure cargo-release doesn't bump it.