From 4af56664d9bc4f3d5173bf4649d8ee2e2fd328e3 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Mon, 4 Nov 2024 14:47:06 +0100 Subject: [PATCH] use yq --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 94da3450..327b9127 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -57,7 +57,7 @@ jobs: - name: Validate version id: versions_derivation run: | - CARGO_VERSION=$(yq .package.version concordium-node/Cargo.toml) + CARGO_VERSION=$(yq .version package.yaml) if [ -z "${{ env.SERVICE }}" ]; then IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ github.ref_name }}" if [ ! "$VERSION" = "$CARGO_VERSION" ]; then