Use the current version number in the dmg name

This commit is contained in:
Luis Ángel San Martín 2019-08-17 17:15:23 +02:00
parent 54fcb059b1
commit 5055c01372

View File

@ -35,7 +35,8 @@ jobs:
displayName: 'Install dependencies'
- script: |
cd $(Build.SourcesDirectory)
./compileOSX.sh
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
./compileOSX.sh $VERSION
mkdir output
ls -alh
cp *.dmg ./output