Skip to content

Commit 3d23916

Browse files
committed
Update sign script to return failure/success properly in helper
1 parent fef3f27 commit 3d23916

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

util/buildscripts/scripts/sign.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ sign_file() {
4444
elif [ "$CLOUD_SIGN" == "1" ]; then
4545
timeout 5 signtool.exe sign /d RenderDoc /f "${PUBFILE}" /fd sha256 /tr $TSS /td sha256 /csp "Google Cloud KMS Provider" /kc "${KEYNAME}" "${INPUTFILE}"
4646
fi
47+
signtool.exe verify /pa "$INPUTFILE" >/dev/null 2>&1
48+
return $?
4749
}
4850

4951
INPUTFILE="$1"

0 commit comments

Comments
 (0)