Compare commits
No commits in common. "main" and "1.2.4" have entirely different histories.
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ on:
|
|||
- '[0-9]+.[0-9]+.[0-9]+'
|
||||
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
|
||||
jobs:
|
||||
test:
|
||||
run-tests:
|
||||
runs-on: docker
|
||||
steps:
|
||||
-
|
||||
|
@ -19,7 +19,7 @@ jobs:
|
|||
-
|
||||
name: Check if Version in Cargo.toml matches Tag
|
||||
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
|
||||
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
|
||||
exit 1
|
||||
|
|
Reference in a new issue