From 2e54ee9360b275b38bf5e56997c7cdc7f1f775b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20K=C3=B8hler=20Warmdahl?= Date: Tue, 3 Dec 2024 13:34:44 +0100 Subject: [PATCH] Try different syntax in if statement --- .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 b7ac2a44b..ffc521693 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,7 +64,7 @@ jobs: VERSION=$(awk '/"version":/ { print substr($2, 2, length($2)-3); exit }' app/package.json) TAG_VERSION=${{ github.ref_name }} - if [ "$VERSION" -ne "$TAG_VERSION" ]; then + if [[ "$VERSION" -ne "$TAG_VERSION" ]]; then echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION" EC=0 exit 1