diff --git a/.github/workflows/on-push-release-tag.yml b/.github/workflows/on-push-release-tag.yml index f143d62fb3..bacbac5bc4 100644 --- a/.github/workflows/on-push-release-tag.yml +++ b/.github/workflows/on-push-release-tag.yml @@ -36,8 +36,8 @@ jobs: run: | # cut release candidate part of the tag tag=$(echo '${{ steps.get-ref-properties.outputs.tag }}' | sed 's/-rc[0-9]*$//g') - # cut major version from Cargo.toml - expected_tag=r-$(echo '${{ steps.read-node-version.outputs.value }}' | sed -e 's/^[0-9]\+\.//g') + # expected tag is r- from Cargo.toml + expected_tag=r-$(echo '${{ steps.read-node-version.outputs.value }}') if [[ ${tag} != ${expected_tag} ]]; then echo "Error: tag version does not match version in bin/node/Cargo.toml" echo "Non-release candidate part of the tag is ${tag}" diff --git a/Cargo.lock b/Cargo.lock index a7f71fd257..899eded521 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "aleph-node" -version = "14.0.0+dev" +version = "14.0.0" dependencies = [ "aleph-runtime", "fake-runtime-api", diff --git a/bin/node/Cargo.toml b/bin/node/Cargo.toml index c1e7e23048..781fbc05c7 100644 --- a/bin/node/Cargo.toml +++ b/bin/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph-node" -version = "14.0.0+dev" +version = "14.0.0" description = "Aleph node binary" build = "build.rs" license = "GPL-3.0-or-later"