mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #486 from yemel/feature/auto-version-packages
version number is now taken from version.js file
This commit is contained in:
commit
0bb2d19b50
|
@ -19,7 +19,7 @@ checkOK() {
|
||||||
# Configs
|
# Configs
|
||||||
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
APPDIR="$BUILDDIR/package"
|
APPDIR="$BUILDDIR/package"
|
||||||
VERSION=`git describe --tags --abbrev=0 | cut -c 2-`
|
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
|
||||||
|
|
||||||
# Move to the build directory
|
# Move to the build directory
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
|
|
|
@ -20,7 +20,7 @@ checkOK() {
|
||||||
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
APPDIR="$BUILDDIR/copay-chrome-extension"
|
APPDIR="$BUILDDIR/copay-chrome-extension"
|
||||||
ZIPFILE="copay-chrome-extension.zip"
|
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
|
# Move to the build directory
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
|
|
|
@ -20,7 +20,7 @@ checkOK() {
|
||||||
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
APPDIR="$BUILDDIR/firefox-addon"
|
APPDIR="$BUILDDIR/firefox-addon"
|
||||||
ZIPFILE="copay-firefox-addon.zip"
|
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
|
# Move to the build directory
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
|
|
Loading…
Reference in New Issue