#6743 Set git commit linux rpm
This commit is contained in:
parent
873c6cf458
commit
c32d6a0082
1 changed files with 6 additions and 2 deletions
|
|
@ -4,10 +4,11 @@ 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'
|
||||
env:
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
mkdir build-release
|
||||
|
|
@ -17,10 +18,11 @@ 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'
|
||||
env:
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
mkdir build-ent
|
||||
|
|
@ -31,6 +33,8 @@ steps:
|
|||
make -j
|
||||
displayName: 'Build enterprise'
|
||||
condition: eq(variables['packager'],'deb')
|
||||
env:
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
mkdir build-ent
|
||||
|
|
|
|||
Loading…
Reference in a new issue