scripts/build_mingw: use this_version.py to get current version
authorPaul Brossier <piem@piem.org>
Fri, 7 Apr 2017 13:44:10 +0000 (15:44 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 7 Apr 2017 13:44:10 +0000 (15:44 +0200)
scripts/build_mingw

index 3f0ae3b..02eb2ab 100755 (executable)
@@ -10,9 +10,8 @@
 set -e
 set -x
 
-source VERSION
-VERSION="$AUBIO_MAJOR_VERSION.$AUBIO_MINOR_VERSION.$AUBIO_PATCH_VERSION"
-VERSION+="$AUBIO_VERSION_STATUS"
+python this_version.py -v
+VERSION=`python $PWD/this_version.py -v`
 
 FFMPEG_BUILDS_URL="https://ffmpeg.zeranoe.com/builds"
 FFMPEG_DEFAULT="20170315-6c4665d"