зеркало из https://github.com/microsoft/msquic.git
Only do Official Releases in OneBranch (#3806)
This commit is contained in:
Родитель
09eff16e01
Коммит
cf4537c3dc
|
@ -32,7 +32,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x64 -CI -UseSystemOpenSSLCrypto -OneBranch
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x64 -CI -UseSystemOpenSSLCrypto -OneBranch -OfficialRelease
|
||||
- task: PowerShell@2
|
||||
displayName: arm64
|
||||
${{ if eq(parameters.tls, 'openssl') }}:
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm64 -CI -UseSystemOpenSSLCrypto -OneBranch
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm64 -CI -UseSystemOpenSSLCrypto -OneBranch -OfficialRelease
|
||||
- task: PowerShell@2
|
||||
displayName: arm
|
||||
${{ if eq(parameters.tls, 'openssl') }}:
|
||||
|
@ -52,4 +52,4 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm -CI -UseSystemOpenSSLCrypto -OneBranch
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm -CI -UseSystemOpenSSLCrypto -OneBranch -OfficialRelease
|
||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x64 -CI -UseXdp -ExtraArtifactDir xdp
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x64 -CI -UseXdp -ExtraArtifactDir xdp -OfficialRelease
|
||||
- task: onebranch.pipeline.signing@1
|
||||
target: windows_build_container2
|
||||
inputs:
|
||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x64 -CI
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x64 -CI -OfficialRelease
|
||||
- task: PowerShell@2
|
||||
displayName: x86
|
||||
condition: ne('${{ parameters.platform }}', 'gamecore_console')
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x86 -CI
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch x86 -CI -OfficialRelease
|
||||
- task: PowerShell@2
|
||||
displayName: ARM
|
||||
condition: ne('${{ parameters.platform }}', 'gamecore_console')
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm -CI
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm -CI -OfficialRelease
|
||||
- task: PowerShell@2
|
||||
displayName: ARM64
|
||||
condition: and(ne('${{ parameters.platform }}', 'gamecore_console'), ne('${{ parameters.tls }}', 'openssl'))
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
inputs:
|
||||
pwsh: true
|
||||
filePath: scripts/build.ps1
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm64 -CI
|
||||
arguments: -Tls ${{ parameters.tls }} -Config ${{ parameters.config }} -Platform ${{ parameters.platform }} -Arch arm64 -CI -OfficialRelease
|
||||
- task: PowerShell@2
|
||||
displayName: Write Versions
|
||||
target: windows_build_container2
|
||||
|
|
|
@ -271,7 +271,10 @@ if ($Platform -eq "ios" -and !$Static) {
|
|||
Write-Host "iOS can only be built as static"
|
||||
}
|
||||
|
||||
if (!$OfficialRelease) {
|
||||
if ($OfficialRelease) {
|
||||
# We only actually try to do official release if there is a matching git tag.
|
||||
# Clear the flag and then only set it if we find a tag.
|
||||
$OfficialRelease = $false
|
||||
try {
|
||||
$env:GIT_REDIRECT_STDERR = '2>&1'
|
||||
# Thanks to https://stackoverflow.com/questions/3404936/show-which-git-tag-you-are-on
|
||||
|
|
Загрузка…
Ссылка в новой задаче