#6743 Set git commit on windows and mac
This commit is contained in:
parent
9d89a05427
commit
d6bef0b74b
3 changed files with 4 additions and 14 deletions
|
|
@ -59,8 +59,6 @@ steps:
|
||||||
condition: eq(variables['Build.Reason'], 'Manual')
|
condition: eq(variables['Build.Reason'], 'Manual')
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
export SYNERGY_REVISION=`git rev-parse --short=8 HEAD`
|
|
||||||
echo $SYNERGY_REVISION
|
|
||||||
dch --create --package "synergy" --controlmaint --distribution unstable --newversion $SYNERGY_DEB_VERSION "Initial release"
|
dch --create --package "synergy" --controlmaint --distribution unstable --newversion $SYNERGY_DEB_VERSION "Initial release"
|
||||||
export DEB_BUILD_OPTIONS="parallel=8"
|
export DEB_BUILD_OPTIONS="parallel=8"
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,6 @@ steps:
|
||||||
keychain: 'temp'
|
keychain: 'temp'
|
||||||
condition: eq(variables['Build.Reason'], 'Manual')
|
condition: eq(variables['Build.Reason'], 'Manual')
|
||||||
|
|
||||||
- task: AzureKeyVault@1
|
|
||||||
inputs:
|
|
||||||
azureSubscription: 'Free Trial (796b9556-9614-41a6-8040-0eb14d81fe6f'
|
|
||||||
KeyVaultName: 'Symless'
|
|
||||||
SecretsFilter: '*'
|
|
||||||
displayName: "Get keys"
|
|
||||||
condition: eq(variables['Build.Reason'], 'Manual')
|
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
script: 'brew install qt'
|
script: 'brew install qt'
|
||||||
|
|
@ -29,7 +21,7 @@ steps:
|
||||||
displayName: 'Cmake standard'
|
displayName: 'Cmake standard'
|
||||||
condition: eq(variables['buildType'], 'standard')
|
condition: eq(variables['buildType'], 'standard')
|
||||||
env:
|
env:
|
||||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|
@ -42,7 +34,7 @@ steps:
|
||||||
displayName: 'Cmake enterprise'
|
displayName: 'Cmake enterprise'
|
||||||
condition: eq(variables['buildType'], 'enterprise')
|
condition: eq(variables['buildType'], 'enterprise')
|
||||||
env:
|
env:
|
||||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ steps:
|
||||||
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
||||||
QT_PATH: $(QT_BIN_PATH)
|
QT_PATH: $(QT_BIN_PATH)
|
||||||
MSARCH: 'x64'
|
MSARCH: 'x64'
|
||||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
call "%ENV_BAT%" -arch=x64
|
call "%ENV_BAT%" -arch=x64
|
||||||
|
|
@ -85,7 +85,7 @@ steps:
|
||||||
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
||||||
QT_PATH: $(QT_BIN_PATH_32)
|
QT_PATH: $(QT_BIN_PATH_32)
|
||||||
MSARCH: 'Win32'
|
MSARCH: 'Win32'
|
||||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
call "%ENV_BAT%" -arch=x86
|
call "%ENV_BAT%" -arch=x86
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue