mirror of
https://github.com/Z3Prover/z3
synced 2025-06-14 09:56:15 +00:00
update release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
80033a5527
commit
ec5d08ac00
1 changed files with 33 additions and 8 deletions
|
@ -159,18 +159,16 @@ stages:
|
||||||
$(Build.SourceBranchName)
|
$(Build.SourceBranchName)
|
||||||
$(Build.SourceVersion)
|
$(Build.SourceVersion)
|
||||||
$(Build.SourcesDirectory)
|
$(Build.SourcesDirectory)
|
||||||
|
symbols
|
||||||
- task: NuGetToolInstaller@0
|
- task: NuGetToolInstaller@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: 5.x
|
versionSpec: 5.x
|
||||||
checkLatest: false
|
checkLatest: false
|
||||||
- task: NugetCommand@2
|
- task: NugetCommand@2
|
||||||
displayName: 'NuGet Pack'
|
displayName: 'NuGet Pack Symbols'
|
||||||
inputs:
|
inputs:
|
||||||
command: pack
|
command: custom
|
||||||
packagesToPack: $(Agent.TempDirectory)\package\out\Microsoft.Z3.x64.nuspec
|
arguments: 'pack $(Agent.TempDirectory)\package\out\Microsoft.Z3.x64.sym.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -Verbosity detailed -Symbols -SymbolPackageFormat snupkg -BasePath $(Agent.TempDirectory)\package\out'
|
||||||
basePath: $(Agent.TempDirectory)\package\out
|
|
||||||
packDestination: $(Build.ArtifactStagingDirectory)
|
|
||||||
verbosityPack: detailed
|
|
||||||
- task: EsrpCodeSigning@1
|
- task: EsrpCodeSigning@1
|
||||||
displayName: 'Sign Package'
|
displayName: 'Sign Package'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -198,10 +196,37 @@ stages:
|
||||||
SessionTimeout: '60'
|
SessionTimeout: '60'
|
||||||
MaxConcurrency: '50'
|
MaxConcurrency: '50'
|
||||||
MaxRetryAttempts: '5'
|
MaxRetryAttempts: '5'
|
||||||
|
- task: EsrpCodeSigning@1
|
||||||
|
displayName: 'Sign Symbol Package'
|
||||||
|
inputs:
|
||||||
|
ConnectedServiceName: 'z3-esrp-signing'
|
||||||
|
FolderPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
Pattern: Microsoft.Z3.x64.$(ReleaseVersion).snupkg
|
||||||
|
signConfigType: 'inlineSignParams'
|
||||||
|
inlineOperation: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"KeyCode" : "CP-401405",
|
||||||
|
"OperationCode" : "NuGetSign",
|
||||||
|
"Parameters" : {},
|
||||||
|
"ToolName" : "sign",
|
||||||
|
"ToolVersion" : "1.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"KeyCode" : "CP-401405",
|
||||||
|
"OperationCode" : "NuGetVerify",
|
||||||
|
"Parameters" : {},
|
||||||
|
"ToolName" : "sign",
|
||||||
|
"ToolVersion" : "1.0"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
SessionTimeout: '60'
|
||||||
|
MaxConcurrency: '50'
|
||||||
|
MaxRetryAttempts: '5'
|
||||||
- task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
inputs:
|
inputs:
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)\Microsoft.Z3.x64.$(ReleaseVersion).nupkg
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
artifactName: 'NuGetPackage'
|
artifactName: 'NuGet'
|
||||||
|
|
||||||
- job: PythonPackage
|
- job: PythonPackage
|
||||||
displayName: "Python packaging"
|
displayName: "Python packaging"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue