tweaks for the new release

This commit is contained in:
nightwing 2015-04-03 13:23:52 +04:00
commit 6fad60f546
3 changed files with 10 additions and 4 deletions

View file

@ -9,11 +9,16 @@ pause() {
done
}
read -p "enter version number for the build " VERSION_NUM
cd `dirname $0`/..
SOURCE=`pwd`
CUR_VERSION=`node -e 'console.log(require("./package.json").version)'`
git --no-pager log --first-parent --oneline v$CUR_VERSION..master
echo "current version is $CUR_VERSION"
read -p "enter version number for the build " VERSION_NUM
node -e "
var fs = require('fs');
var version = '$VERSION_NUM';