Repository navigation
release: no SHA256SUMS, no checksum step in the docs (#236) - #237
Conversation
Users need not check the downloaded APKs against checksums: publish-latest.sh no longer computes and uploads SHA256SUMS (and so no longer downloads the release's files first), removes a SHA256SUMS left from earlier publications, and the notes drop the "Check:" line. READMEs: SHA256SUMS is gone from the Download table; docs/testing.md and the build.yml comment no longer mention it. The same script goes to basic in a PR there. Tested with gh stubbed: an existing latest with SHA256SUMS gets the new APK and mapping, the old SHA256SUMS is deleted, title and notes are set without the checksum line. shellcheck clean. Refs #236
PR Summary by QodoStop publishing SHA256SUMS with the latest release
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
Code Review by Qodo
1.
|
|
Qodo finding (failed cleanup leaves old checksums): fixed — the left-over |
|
/review |
I can’t confirm that yet: the current diff for |
| # a SHA256SUMS from before #236: removed if the release still has one; a failure stops here | ||
| if gh release view latest --json assets -q '.assets[].name' | grep -qx SHA256SUMS; then | ||
| gh release delete-asset latest SHA256SUMS --yes |
There was a problem hiding this comment.
2. The changelog describes a missing asset 🐞 Bug ⚙ Maintainability
CHANGELOG.md still describes SHA256SUMS as covering every file in the current release, while publish-latest.sh now removes that asset and creates no replacement. Readers using the changelog’s release description will look for a checksum file that the updated publisher does not provide.
Agent Prompt
## Issue description
The changelog’s introductory description of the current release still says it includes `SHA256SUMS`.
## Fix Focus Areas
- CHANGELOG.md[5-9]
- .github/publish-latest.sh[92-98]
## Recommended Fix
Remove the checksum claim from the changelog introduction so it describes the assets the publisher now provides.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
Code review by qodo was updated up to the latest commit 0b0e9af |
Qodo: inside the if, a failed gh release view looked like "no SHA256SUMS". The asset list is read first, so an error stops the publish. Refs #236
|
Qodo: asset lookup failures leave stale checksums — fixed: the asset list is read into a variable first, so a failed |
|
/review |
Understood. Finding 1 is addressed by reading the asset list before testing it, so |
|
Code review by qodo was updated up to the latest commit 23e082a |
Part of #236 (
v2; the samepublish-latest.shgoes tobasicin a PR there)..github/publish-latest.sh: no longer computes and uploadsSHA256SUMS(and no longer downloads the release's files first for that); aSHA256SUMSleft from earlier publications is removed fromlatest; the notes drop the "Check:sha256sum -c SHA256SUMS" line.SHA256SUMSis gone from the "Download" table.docs/testing.mdand thebuild.ymlcomment no longer mention it.Tested with
ghstubbed: an existinglatestwithSHA256SUMSgets the new APK and mapping, the oldSHA256SUMSis deleted, title and notes are set without the checksum line. shellcheck clean. Workflow and docs only: no version bump.