Currently our github workflow generates binary artifacts and cargo crate. The workflow takes care of the versioning for the artifacts, but it does not update the versioning for the cargo crate (in the cargo.toml file), so there's a mismatch of version numbers between these -- and, if cargo.toml is not updated with the right version, the pipeline fails to publish the crate.
Investigate and propose a reasonable way to sync versioning.
Currently our github workflow generates binary artifacts and cargo crate. The workflow takes care of the versioning for the artifacts, but it does not update the versioning for the cargo crate (in the
cargo.tomlfile), so there's a mismatch of version numbers between these -- and, ifcargo.tomlis not updated with the right version, the pipeline fails to publish the crate.Investigate and propose a reasonable way to sync versioning.