Skip to content

Commit

Permalink
Sign format files (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Aug 11, 2022
1 parent ca28275 commit 959851c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish/signModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (@($cert).Length -gt 1) {

"Signing Files"
$files = Get-ChildItem -Recurse -ErrorAction SilentlyContinue $Path |
Where-Object { $_.Extension -in ".ps1", ".psm1", ".psd1", ".dll" } |
Where-Object { $_.Extension -in ".ps1", ".psm1", ".psd1", ".ps1xml", ".dll" } |
Select-Object -ExpandProperty FullName

$incorrectSignatures = Get-AuthenticodeSignature -FilePath $files | Where-Object { "Valid", "NotSigned" -notcontains $_.Status }
Expand Down

0 comments on commit 959851c

Please sign in to comment.