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