Skip to content

Release pipeline: per-version notes, SHA-256 + provenance, and a code-signing plan #45

Closed

Description

@TMHSDigital

Summary

The tag-triggered release pipeline works, but what it ships is hard to trust and hard to read:

  1. Release notes are the whole CHANGELOG. body_path: CHANGELOG.md posts every version (83 lines for v1.4.0) instead of that version's section.
  2. No checksums or provenance. The exe is attached on its own, with no SHA-256 and no build attestation.
  3. Unsigned binary. An unsigned, PyInstaller-onefile input-automation exe triggers SmartScreen and is a frequent antivirus false-positive target. upx=True in the spec makes AV heuristics worse whenever UPX is present on the build machine.

Why it matters

An input-automation tool needs users' trust more than most software. A first-time user who sees a SmartScreen block, an AV quarantine, and a wall of release notes is unlikely to try again.

Evidence

  • .github/workflows/ci.yml (release job) — body_path: CHANGELOG.md, files: dist/WindowsAutoclicker.exe.
  • WindowsAutoclicker.spec — upx=True, codesign_identity=None.

Suggested approach

  • Extract the section for the tag's version from CHANGELOG.md (a small script or an existing action that parses Keep a Changelog) and use it as the release body.
  • Generate WindowsAutoclicker.exe.sha256 and add actions/attest-build-provenance (needs id-token: write, attestations: write on the release job only).
  • Set upx=False explicitly.
  • Evaluate code signing (e.g. Azure Trusted Signing or the SignPath OSS program) and add a version resource (version= file) so the exe's Properties show the product name and version.
  • Optionally run a smoke step that launches the frozen exe with a --version flag before publishing.

Done when

  • The release body contains only the tagged version's notes.
  • Each release has a checksum and a provenance attestation; README explains how to verify them.
  • A signing decision is recorded (implemented or explicitly deferred).

Activity

  1. added
    priority: medium
    ci
    packaging
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cipackagingpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions