From 7dbe5c9dfb5887a1423c135859771222682162cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20K=C3=B8hler=20Warmdahl?= Date: Tue, 3 Dec 2024 14:21:05 +0100 Subject: [PATCH] Test hardcoded version --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1c2fe499e..c025118ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,9 +53,9 @@ jobs: - name: Check version run: | # Extract version number - VERSION=ekw/SRE-1001/release-desktop-wallet #$(awk '/"version":/ { print substr($2, 2, length($2)-3); exit }' app/package.json) + VERSION=$(awk '/"version":/ { print substr($2, 2, length($2)-3); exit }' app/package.json) - TAG_VERSION=${{ github.ref_name }} + TAG_VERSION=1.7.4 #${{ github.ref_name }} if [ "$VERSION" != "$TAG_VERSION" ]; then echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION" EC=0