Skip to content

Support Windows release signing with PowerShell - #1006

Merged
kasnder merged 1 commit into
masterfrom
codex/windows-release-signing
Oct 30, 2026
Merged

kasnder merged 1 commit into
masterfrom
codex/windows-release-signing

Conversation

@kasnder

@kasnder kasnder commented Oct 29, 2026

Copy link
Copy Markdown
Member

Windows maintainers currently cannot use the release signing script because it requires macOS Keychain and Unix tools. Add a PowerShell equivalent that downloads the unsigned Linux artifact for an existing numeric tag, verifies its commit and checksum, signs locally, checks the release certificate and 16 KB alignment, and creates a draft GitHub release with the APK, checksum, build information, and release notes.

Passwords are prompted locally by default; environment overrides remain available. Document central Windows SDK setup and invocation. The existing macOS script is unchanged; no SDK binaries, keys, credentials, or generated APKs are included.

Validation: ran 10 scenarios in Windows PowerShell 5.1 and PowerShell 7.6 using real Android Build Tools 36.1.0, a disposable signing key, and mocked GitHub calls, including paths with spaces. Covered successful signing, manual-dispatch ref handling, failed GitHub commands/runs, existing output/releases, and head/commit/checksum/certificate mismatches. GitHub publication was mocked for these tests; the live release was not changed. Also ran PowerShell parsing and git diff --check.

@kasnder
kasnder merged commit ad1d02d into master Oct 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant