We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431dfd5 commit 183b795Copy full SHA for 183b795
.evergreen/verify-artifacts.sh
@@ -34,6 +34,13 @@ verify_using_gpg() {
34
verify_using_powershell() {
35
echo "Verifying $1 using powershell"
36
powershell Get-AuthenticodeSignature -FilePath $ARTIFACTS_DIR/$1 > "$TMP_FILE" 2>&1
37
+
38
+ # Get-AuthenticodeSignature just outputs text, it doesn't exit with a non-zero
39
+ # code if the file is not signed
40
+ if grep -q NotSigned "$TMP_FILE"; then
41
+ echo "File $1 is not signed"
42
+ exit 1
43
+ fi
44
}
45
46
verify_using_codesign() {
0 commit comments