Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A0-2823: Create checks for aleph-node tag version (#1523)
# Description This simple check prevents releases in which node version is not updated. It works on `r-*` tag push, and just compares part of the pushed tag with appropriate part of `package.version` field from `bin/node/Cargo.toml`. ## Type of change Please delete options that are not relevant. - New feature (non-breaking change which adds functionality) ## Testing Tested on my fork. Examples: 1. Version in `bin/node/Cargo.toml` is `0.100.9`. Someone pushes tag `r-100.10-rc1`. Check [fails](https://github.com/Marcin-Radecki/aleph-node/actions/runs/7057092013) 2. Version in `bin/node/Cargo.toml` is `0.100.10`. Someone pushes `r-100.10-rc2`. Check [suceeds](https://github.com/Marcin-Radecki/aleph-node/actions/runs/7057097280) 3. Version in `bin/node/Cargo.toml` is `0.100.10`. Someone pushes `r-100.10`. Check [suceeds](https://github.com/Marcin-Radecki/aleph-node/actions/runs/7057101185) --------- Co-authored-by: kostekIV <[email protected]>
- Loading branch information