From 3175b54dd48d031e79d64776baac58665df2e714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Tue, 19 Nov 2024 14:37:05 +0100 Subject: [PATCH] update sign codes (#234183) --- build/azure-pipelines/common/sign.js | 14 ++++++++++++++ build/azure-pipelines/common/sign.ts | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/build/azure-pipelines/common/sign.js b/build/azure-pipelines/common/sign.js index f944e1adff8..9c1c2493c64 100644 --- a/build/azure-pipelines/common/sign.js +++ b/build/azure-pipelines/common/sign.js @@ -105,6 +105,20 @@ function getParams(type) { toolName: 'sign', toolVersion: '1.0' }]; + case 'nuget': + return [{ + keyCode: 'CP-401405', + operationSetCode: 'NuGetSign', + parameters: [], + toolName: 'sign', + toolVersion: '1.0' + }, { + keyCode: 'CP-401405', + operationSetCode: 'NuGetVerify', + parameters: [], + toolName: 'sign', + toolVersion: '1.0' + }]; default: throw new Error(`Sign type ${type} not found`); } diff --git a/build/azure-pipelines/common/sign.ts b/build/azure-pipelines/common/sign.ts index 184ea5b3342..b40f3cb6107 100644 --- a/build/azure-pipelines/common/sign.ts +++ b/build/azure-pipelines/common/sign.ts @@ -115,6 +115,20 @@ function getParams(type: string): Params[] { toolName: 'sign', toolVersion: '1.0' }]; + case 'nuget': + return [{ + keyCode: 'CP-401405', + operationSetCode: 'NuGetSign', + parameters: [], + toolName: 'sign', + toolVersion: '1.0' + }, { + keyCode: 'CP-401405', + operationSetCode: 'NuGetVerify', + parameters: [], + toolName: 'sign', + toolVersion: '1.0' + }]; default: throw new Error(`Sign type ${type} not found`); }