Update .forgejo/workflows/build+release.yml
This commit is contained in:
parent
04f4d4b86d
commit
7e2f5155f0
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Check if Version in package.json matches Tag
|
name: Check if Version in package.json matches Tag
|
||||||
run: |
|
run: |
|
||||||
|
echo "Test"
|
||||||
VERSION=$(cat package.json | grep -E "(^|\|)version\":" | cut -f2- -d= | tr -d \" | tr -d " ")
|
VERSION=$(cat package.json | 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'";
|
||||||
|
|
Loading…
Reference in a new issue