diff --git a/CI/Linux/linux-build.yml b/CI/Linux/linux-build.yml index 1c555f222..88fd0efb0 100644 --- a/CI/Linux/linux-build.yml +++ b/CI/Linux/linux-build.yml @@ -4,6 +4,7 @@ steps: cd build-release if [ -z $(which cmake) ]; then cmake3 -DCMAKE_BUILD_TYPE=Release ..; else cmake -DCMAKE_BUILD_TYPE=Release ..; fi . ./version + export SYNERGY_REVISION=`git rev-parse --short=8 HEAD` make -j condition: eq(variables['packager'],'deb') displayName: 'Build Release deb' @@ -18,6 +19,7 @@ steps: else cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..; fi . ./version + export SYNERGY_REVISION=`git rev-parse --short=8 HEAD` make -j condition: eq(variables['packager'],'rpm') displayName: 'Build Release rpm'