From 32373b92b4637049d0502bc1784f4ec250613e51 Mon Sep 17 00:00:00 2001 From: Yemel Jardi Date: Thu, 29 May 2014 15:55:55 -0300 Subject: [PATCH] version number is now taken from version.js file --- android/build.sh | 2 +- chrome/build.sh | 2 +- firefox/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.sh b/android/build.sh index 6b7f19aee..15d12d8fc 100644 --- a/android/build.sh +++ b/android/build.sh @@ -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 diff --git a/chrome/build.sh b/chrome/build.sh index c00dbe0cb..f56db58d0 100644 --- a/chrome/build.sh +++ b/chrome/build.sh @@ -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 diff --git a/firefox/build.sh b/firefox/build.sh index c09a56c9d..933722421 100644 --- a/firefox/build.sh +++ b/firefox/build.sh @@ -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