From 5055c01372974dc4aee1e6fcdfccf7a500c318f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 17 Aug 2019 17:15:23 +0200 Subject: [PATCH] Use the current version number in the dmg name --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fd68e78b..6537d483 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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