Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-scig committed Feb 26, 2020
1 parent 598c0cd commit 887c478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -x

ROOT_PATH=`dirname "${0}"`/..

VERSION=$(node -p "require('$ROOT_PATH/package.json').version")
VERSION=$(node -p "require('$ROOT_PATH/src/package.json').version")

if [ $1 = $VERSION ]; then
exit 0
else
exit 1
fi
fi

0 comments on commit 887c478

Please sign in to comment.