From c71360c95987ef04631a91c90ae1ed2d24b37e94 Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 17 Nov 2023 15:31:42 +0100 Subject: [PATCH] Fix Release Action Test Syntax Error --- .forgejo/workflows/build+release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index fafdf4c..7abeca4 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -16,8 +16,8 @@ jobs: - name: Check if Version in Cargo.toml matches Tag run: | - VERSION=(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d=) - if test $VERSION != ' "${{ github.ref_name }}"' + VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d=) + if test $VERSION != "${{ github.ref_name }}" echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'" end