Fix Release Action Test Syntax Error
All checks were successful
Run Tests on Code / run-tests (push) Successful in 37s

This commit is contained in:
Neshura 2023-11-17 15:31:42 +01:00
parent 9fd3970f58
commit c71360c959
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -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