From cabbf7699808d1fadefb673b85295b01f1b4d8f3 Mon Sep 17 00:00:00 2001
From: Medeni Baykal <433724+Haplois@users.noreply.github.com>
Date: Sat, 19 Mar 2022 15:56:28 +0100
Subject: [PATCH] Fixed signing issues (#3486)
* Signing verification fixes
---
scripts/verify-sign.ps1 | 5 +++--
src/package/sign/sign.proj | 9 +++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/scripts/verify-sign.ps1 b/scripts/verify-sign.ps1
index dff004b0b8..d7c2128555 100644
--- a/scripts/verify-sign.ps1
+++ b/scripts/verify-sign.ps1
@@ -141,7 +141,7 @@ function Verify-NugetPackages
function Write-FailLog ([string] $message)
{
$script:ErrorCount = $script:ErrorCount + 1
- Write-ToCI -message $message -type "error"
+ Write-ToCI -message $message -type "task.logissue type=error"
}
function Write-Debug ([string] $message)
@@ -172,5 +172,6 @@ Verify-Assemblies
Verify-NugetPackages
if ($script:ErrorCount -gt 0) {
- Write-ToCI -message "Verification failed, $($script:ErrorCount) errors found!" -type "task.logissue" -vso
+ # Write-ToCI -message "Verification failed, $($script:ErrorCount) errors found!" -type "task.logissue type=error" -vso
+ Write-ToCI -message "Verification failed, $($script:ErrorCount) errors found!" -type "task.complete result=Failed;" -vso
}
diff --git a/src/package/sign/sign.proj b/src/package/sign/sign.proj
index 5ff9e86155..a72349deb4 100644
--- a/src/package/sign/sign.proj
+++ b/src/package/sign/sign.proj
@@ -151,6 +151,9 @@
+
+
+
@@ -224,6 +227,7 @@
+
@@ -287,6 +291,8 @@
+
+
@@ -302,6 +308,9 @@
+
+
+