diff --git a/.github/workflows/rust_binaries_release.yml b/.github/workflows/rust_binaries_release.yml index e04696aaf..f9a76ec4d 100644 --- a/.github/workflows/rust_binaries_release.yml +++ b/.github/workflows/rust_binaries_release.yml @@ -17,6 +17,21 @@ jobs: outputs: binaries: ${{ steps.setup_matrix.outputs.binaries }} steps: + - name: Get version info + id: version_info + shell: bash + run: | + version="merod-0.1.1" + echo "Master version: $version" + + gh release view "$version" --repo calimero-network/core + + if gh release view "$version" --repo ${{ github.repository }} >/dev/null 2>&1; then + echo "Master release for this version already exists" + else + echo "New master release required" + fi + - name: Setup matrix id: setup_matrix run: |