diff --git a/scripts/mkrepo.sh b/scripts/mkrepo.sh index 08078c9..599a126 100755 --- a/scripts/mkrepo.sh +++ b/scripts/mkrepo.sh @@ -11,7 +11,7 @@ confdir=$1 set -ex -ver=`node -e "require('fs'); console.log(JSON.parse(fs.readFileSync('package.json')).version)"` +ver=`jq -r .version package.json` distdir=$PWD/dist confdir=$PWD/$confdir