From 295ac1d2e7f853c3c1a80863f2d3b2dbc3ad210c Mon Sep 17 00:00:00 2001 From: Jamie Newbon Date: Mon, 10 Aug 2020 13:31:16 +0100 Subject: [PATCH] #6743 Trying out revision export before make --- CI/Linux/linux-build.yml | 2 ++ 1 file changed, 2 insertions(+) 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'