Merge pull request #486 from yemel/feature/auto-version-packages

version number is now taken from version.js file
This commit is contained in:
Mario Colque 2014-05-29 16:41:49 -03:00
commit 0bb2d19b50
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ checkOK() {
# Configs
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
APPDIR="$BUILDDIR/package"
VERSION=`git describe --tags --abbrev=0 | cut -c 2-`
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
# Move to the build directory
cd $BUILDDIR

View File

@ -20,7 +20,7 @@ checkOK() {
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
APPDIR="$BUILDDIR/copay-chrome-extension"
ZIPFILE="copay-chrome-extension.zip"
VERSION=`git describe --tags --abbrev=0 | cut -c 2-`
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
# Move to the build directory
cd $BUILDDIR

View File

@ -20,7 +20,7 @@ checkOK() {
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
APPDIR="$BUILDDIR/firefox-addon"
ZIPFILE="copay-firefox-addon.zip"
VERSION=`git describe --tags --abbrev=0 | cut -c 2-`
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
# Move to the build directory
cd $BUILDDIR