fix(publish): verify-windows-signatures resilient under errexit#318
Conversation
Greptile SummaryThis PR makes a single-line change to the
Confidence Score: 4/5The workflow change is mechanically correct and does not alter observable behaviour; the only callout is the pre-existing non-blocking verification path that could allow unsigned Windows binaries to be published if signing fails. The two-line refactor is equivalent to the code it replaces, and all other workflow steps (pinned action SHAs, secret handling, release gating) remain unchanged. The only ongoing concern is the intentionally non-blocking signature check: if osslsigncode verify fails for any reason, the release proceeds without a hard stop. .github/workflows/publish.yml — specifically the verify_signature function and the ::warning:: path that bypasses a hard failure on signing errors. Important Files Changed
|
Re-release of 21.0.0 with the verify-signature fix from
appwrite/sdk-generator1.29.5 (PR #1542).Previous pipeline failed at the "Verify Windows signatures" step because the command substitution
output=$(osslsigncode verify ...)propagated osslsigncode's non-zero exit under GHA's defaultbash -e, killing the script before the warning path could run.Changes
.github/workflows/publish.yml: use|| rc=$?so the verify command's exit code is captured without tripping errexitNo version bump or changelog changes — same 21.0.0 release.