mirror of
https://github.com/deskflow/deskflow.git
synced 2026-06-25 21:12:01 +08:00
#6743 Set git commit on windows and mac
This commit is contained in:
parent
9d89a05427
commit
d6bef0b74b
@ -59,8 +59,6 @@ steps:
|
||||
condition: eq(variables['Build.Reason'], 'Manual')
|
||||
|
||||
- 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"
|
||||
export DEB_BUILD_OPTIONS="parallel=8"
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
@ -6,14 +6,6 @@ steps:
|
||||
keychain: 'temp'
|
||||
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
|
||||
inputs:
|
||||
script: 'brew install qt'
|
||||
@ -29,7 +21,7 @@ steps:
|
||||
displayName: 'Cmake standard'
|
||||
condition: eq(variables['buildType'], 'standard')
|
||||
env:
|
||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
@ -42,7 +34,7 @@ steps:
|
||||
displayName: 'Cmake enterprise'
|
||||
condition: eq(variables['buildType'], 'enterprise')
|
||||
env:
|
||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
|
||||
@ -57,7 +57,7 @@ steps:
|
||||
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
||||
QT_PATH: $(QT_BIN_PATH)
|
||||
MSARCH: 'x64'
|
||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
call "%ENV_BAT%" -arch=x64
|
||||
@ -85,7 +85,7 @@ steps:
|
||||
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
||||
QT_PATH: $(QT_BIN_PATH_32)
|
||||
MSARCH: 'Win32'
|
||||
SYNERGY_REVISION: $(Build.SourceVersion)
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
call "%ENV_BAT%" -arch=x86
|
||||
|
||||
Loading…
Reference in New Issue
Block a user