From be63bef284233bd1891f405d6c8a5a6b58466385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Wed, 21 Aug 2019 22:44:27 +0200 Subject: [PATCH] Try setting the var in the script --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5eebc8ec..f88e3bbc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,6 +21,7 @@ jobs: libqt5opengl5-dev libglu1-mesa-dev libunarr-dev qtdeclarative5-dev displayName: 'Install dependencies' - script: | + export BUILD_NUMBER=$(build_number) qmake CONFIG+="unarr" DEFINES+="BUILD_NUMBER=\\\"$BUILD_NUMBER\\\"" make displayName: 'Build' @@ -73,7 +74,8 @@ jobs: - script: | call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat" set PATH=%PATH%;C:\Qt\Qt5.12.4\5.12.4\msvc2017_64\bin - qmake CONFIG+="7zip" DEFINES+="BUILD_NUMBER=\\\"%BUILD_NUMBER%\\\" + set BUILD_NUMBER=$(build_number) + qmake CONFIG+="7zip" DEFINES+="BUILD_NUMBER=\\\"%BUILD_NUMBER%\\\"" nmake displayName: 'Build' - script: |