Add additional tag step to the pipeline and changed cargo-unleash.
The tag step checks version in Cargo.toml file and compares it with the current tag. If it differs, then the new tag is pushed to github repo. This step doesn't create a release, only publishes the tag. Also it creates env variable for cargo_uhleash.
cargo_unleash now runs on every push to master, but publishing to crates.io happens only if tag was changed on the previous tag step
Add additional
tag
step to the pipeline and changedcargo-unleash
.The
tag
step checks version inCargo.toml
file and compares it with the current tag. If it differs, then the new tag is pushed to github repo. This step doesn't create a release, only publishes the tag. Also it creates env variable forcargo_uhleash
.cargo_unleash
now runs on every push to master, but publishing to crates.io happens only if tag was changed on the previoustag
stepCloses https://github.com/paritytech/ss58-registry/issues/28 Closes https://github.com/paritytech/ci_cd/issues/243