Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
e8f931392e | |||
36709b6b80 | |||
cd79f47caa | |||
48143979e5 |
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:
|
||||
run-tests:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
-
|
||||
|
@ -19,7 +19,7 @@ jobs:
|
|||
-
|
||||
name: Check if Version in Cargo.toml matches Tag
|
||||
run: |
|
||||
VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
VERSION=$(cat 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