This commit is contained in:
Wei Dai 2020-01-29 07:26:58 +00:00
Родитель 8ba7c86fcd
Коммит ded39266ff
1 изменённых файлов: 0 добавлений и 87 удалений

Просмотреть файл

@ -94,93 +94,6 @@ steps:
PublishSymbols: false
continueOnError: true
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP Add Strong Name'
inputs:
ConnectedServiceName: 'ESRP CodeSigning'
FolderPath: dotnet/lib/Release/netstandard2.1
Pattern: '*.dll'
signConfigType: inlineSignParams
inlineOperation: |
[
{
"KeyCode" : "CP-235845-SN",
"OperationCode" : "StrongNameSign",
"Parameters" : {},
"ToolName" : "sign",
"ToolVersion" : "1.0"
},
{
"KeyCode" : "CP-235845-SN",
"OperationCode" : "StrongNameVerify",
"Parameters" : {},
"ToolName" : "sign",
"ToolVersion" : "1.0"
}
]
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP CodeSigning .NET Standard 2.1'
inputs:
ConnectedServiceName: 'ESRP CodeSigning'
FolderPath: dotnet/lib/Release/netstandard2.1
Pattern: '*.dll'
signConfigType: inlineSignParams
inlineOperation: |
[
{
"KeyCode": "CP-230012",
"OperationCode": "SigntoolSign",
"Parameters": {
"OpusName": "Microsoft.Research.SEAL",
"OpusInfo": "https://github.com/microsoft/SEAL",
"FileDigest": "/fd \"SHA256\"",
"PageHash": "/PH",
"TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
},
"ToolName": "sign",
"ToolVersion": "1.0"
},
{
"KeyCode": "CP-230012",
"OperationCode": "SigntoolVerify",
"Parameters": {},
"ToolName": "sign",
"ToolVersion": "1.0"
}
]
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP CodeSigning SEALNetNative'
inputs:
ConnectedServiceName: 'ESRP CodeSigning'
FolderPath: dotnet/lib/x64/Release
Pattern: '*.dll'
signConfigType: inlineSignParams
inlineOperation: |
[
{
"KeyCode": "CP-230012",
"OperationCode": "SigntoolSign",
"Parameters": {
"OpusName": "Microsoft.Research.SEAL",
"OpusInfo": "https://github.com/microsoft/SEAL",
"FileDigest": "/fd \"SHA256\"",
"PageHash": "/PH",
"TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
},
"ToolName": "sign",
"ToolVersion": "1.0"
},
{
"KeyCode": "CP-230012",
"OperationCode": "SigntoolVerify",
"Parameters": {},
"ToolName": "sign",
"ToolVersion": "1.0"
}
]
- task: CopyFiles@2
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
inputs: