paritytech / ss58-registry

Registry for SS58 account types
Apache License 2.0
55 stars 150 forks source link

Publish tag on a new version in Cargo.toml #37

Closed alvicsam closed 2 years ago

alvicsam commented 3 years ago

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

Closes https://github.com/paritytech/ss58-registry/issues/28 Closes https://github.com/paritytech/ci_cd/issues/243