This commit is contained in:
parent
a54baf4b3d
commit
025ff6a42f
1 changed files with 3 additions and 3 deletions
|
@ -37,10 +37,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(cat package.json | grep "version" | sed 's/.*://' | tr -d , | tr -d \" | tr -d " " )
|
VERSION=$(cat package.json | grep "version" | sed 's/.*://' | tr -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
|
||||||
else
|
else
|
||||||
echo "Version is: '$VERSION'";
|
echo "Version is: '$VERSION'";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
Reference in a new issue