Compare commits

..

No commits in common. "main" and "1.2.4" have entirely different histories.
main ... 1.2.4

View file

@ -7,7 +7,7 @@ on:
- '[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+' - '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
jobs: jobs:
test: run-tests:
runs-on: docker runs-on: docker
steps: steps:
- -
@ -19,7 +19,7 @@ jobs:
- -
name: Check if Version in Cargo.toml matches Tag name: Check if Version in Cargo.toml matches Tag
run: | run: |
VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ") VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
if test $VERSION != "${{ github.ref_name }}"; then if test $VERSION != "${{ github.ref_name }}"; then
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'"; echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
exit 1 exit 1