diff --git a/browser-extensions/chrome/build.sh b/browser-extensions/chrome/build.sh index 5d3f54e7f..cb7fbe92e 100644 --- a/browser-extensions/chrome/build.sh +++ b/browser-extensions/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=`cut -d '"' -f2 $BUILDDIR/../../version.js` +VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js|head -n 1` # Move to the build directory cd $BUILDDIR diff --git a/browser-extensions/firefox/build.sh b/browser-extensions/firefox/build.sh index 138c59e0a..6c9867c78 100644 --- a/browser-extensions/firefox/build.sh +++ b/browser-extensions/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=`cut -d '"' -f2 $BUILDDIR/../../version.js` +VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js|head -n 1` cfx >/dev/null