Skip to content

Commit

Permalink
Updated tasks.json
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallwp committed Apr 25, 2023
1 parent d833869 commit a05bffe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@
{
"label": "sign-code",
"type": "shell",
"command": "$CodeSigningSecret = Get-Secret 7ff57fcd-dcf7-4ee9-8506-5d53b28c63a1; $cert = Get-PfxCertificate -FilePath $CodeSigningSecret.uris[0].uri -Password $CodeSigningSecret.password; $files = Get-ChildItem ${workspaceFolder} -Filter '*.ps1' -Recurse; $files += Get-ChildItem ${workspaceFolder} -Filter '*.psm1' -Recurse; $files | Set-AuthenticodeSignature -Certificate $cert -TimestampServer 'http://timestamp.sectigo.com'",
"command": "Unlock-SecretVault warden; $CodeSigningSecret = Get-Secret 7ff57fcd-dcf7-4ee9-8506-5d53b28c63a1; $cert = Get-PfxCertificate -FilePath $CodeSigningSecret.uris[0].uri -Password $CodeSigningSecret.password; $files = Get-ChildItem ${workspaceFolder} -Filter '*.ps1' -Recurse; $files += Get-ChildItem ${workspaceFolder} -Filter '*.psm1' -Recurse; $files | Set-AuthenticodeSignature -Certificate $cert -TimestampServer 'http://timestamp.sectigo.com'",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
}
]
}

0 comments on commit a05bffe

Please sign in to comment.