Update .forgejo/workflows/build+release.yml
All checks were successful
Run Tests on Code / test (push) Successful in 1m46s
All checks were successful
Run Tests on Code / test (push) Successful in 1m46s
This commit is contained in:
parent
5d8b3ceec3
commit
aa81bcbc20
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ jobs:
|
||||||
name: Check if Version in package.json matches Tag
|
name: Check if Version in package.json matches Tag
|
||||||
run: |
|
run: |
|
||||||
echo "Test"
|
echo "Test"
|
||||||
VERSION=$(cat package.json | grep -E "(^|\|)version\":" | cut -f2- -d= | tr -d \" | tr -d " ")
|
VERSION=$(cat package.json)
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue