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