Skip to content

Commit 9f3ceb6

Browse files
authored
Fail sign job if CheckSignature.ps1 fails
1 parent 4bbc7a2 commit 9f3ceb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.proj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,8 @@
381381
<Output TaskParameter="AuthCodeSignTaskErrorsDetected" PropertyName="AuthTaskFailed" />
382382
</VerifyAuthenticodeSignatureTask>
383383

384-
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CheckSignature.ps1 -CustomPath $(LibrarySourceFolder)\Package\$(Configuration) &quot;"/>
384+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CheckSignature.ps1 -CustomPath $(LibrarySourceFolder)\Package\$(Configuration) &quot;"
385+
ContinueOnError="ErrorAndContinue" />
385386

386387
<!-- Copying signed shortcut back -->
387388
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psd1"

0 commit comments

Comments
 (0)