Skip to content

docs(readme): document SHA256SUMS release-verification flow (#66)#187

Merged
quangdang46 merged 1 commit into
masterfrom
feat/release-sha256sums
May 22, 2026
Merged

docs(readme): document SHA256SUMS release-verification flow (#66)#187
quangdang46 merged 1 commit into
masterfrom
feat/release-sha256sums

Conversation

@quangdang46
Copy link
Copy Markdown
Owner

What

The release workflow already generates and attaches a single combined SHA256SUMS manifest (covering Linux, macOS, and Windows artifacts) via the "Generate checksums" step in .github/workflows/release.yml:253. That manifest was undocumented, so users had no obvious way to verify downloads before installing.

This addresses issue #66: #66

Changes

  • README.md: insert a "Verifying release artifacts" section under the Homebrew block:
    • Explains what SHA256SUMS contains.
    • Shows the exact two-step curl + sha256sum --check flow against this fork's release URLs (github.com/quangdang46/jcode/releases).
    • Shows the expected …: OK output.
    • Notes that the manifest is generated from the run's actual artifacts.

Tests

Doc-only change, no behavior change.

Notes / scope deviation from upstream

Upstream PR 1jehuang#70 also rewrites the workflow to add two separate manifests (SHA256SUMS and SHA256SUMS-windows). This fork's workflow already emits a single combined SHA256SUMS from both archive families, which is more elegant — so the workflow rewrite is intentionally NOT ported. Only the README documentation portion is ported, with URLs pointing at this fork.

The release workflow already generates and attaches a single combined
SHA256SUMS manifest (covering Linux, macOS, and Windows artifacts) via
the "Generate checksums" step in .github/workflows/release.yml:253.
That manifest was undocumented, so users had no obvious way to verify
downloads before installing.

Add a "Verifying release artifacts" section under the Homebrew block
in README.md that:
- explains what SHA256SUMS contains,
- shows the exact two-step curl + sha256sum --check flow against this
  fork's release URLs (github.com/quangdang46/jcode/releases),
- shows the expected "…: OK" output,
- notes that SHA256SUMS is generated from the run's actual artifacts.

Ports the README portion of upstream PR
1jehuang#70 (workflow portion is NOT
ported — this fork already emits a single combined SHA256SUMS, which
is more elegant than upstream's split SHA256SUMS / SHA256SUMS-windows
pair).
Closes #66
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