Skip to content

Fix Linux release checksums and attach Ubuntu .ddeb - #185

Merged
danoli3 merged 1 commit into
masterfrom
fix/linux-release-checksums
Oct 17, 2026
Merged

danoli3 merged 1 commit into
masterfrom
fix/linux-release-checksums

Conversation

@danoli3

@danoli3 danoli3 commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Problem

  • SHA256SUMS-linux.txt doesn't match the release asset names. Checksums are generated while the Debian/Ubuntu packages are named …3.19.24-1~ubuntu24.04…. GitHub replaces ~ with . on upload, so on the 3.19.24 release sha256sum -c SHA256SUMS-linux.txt fails to find all five .deb files. The hashes themselves are correct; only the names are wrong. The Arch package, source archive and PKGBUILD lines already verify.
  • The Ubuntu debug-symbol package is dropped. On Ubuntu, debhelper builds libfreeimage-maintained3-dbgsym as a .ddeb. The "Collect package downloads" step only copies *.deb, so Debian 13 releases include debug symbols and Ubuntu releases do not.

Fix

  • Publish job: rename ~ to . in asset names before running sha256sum, so the checksum file lists the names users actually download. Include *.ddeb, using nullglob so a missing pattern doesn't break the step.
  • Deb job: copy ../*.ddeb into dist/ when one exists.

Testing

  • I copied the real 3.19.24 assets, restored their ~ names, added a .ddeb, and ran the new checksum step. Every name in the generated file matches the uploaded name, and sha256sum -c passes for all of them.
  • The publish step only runs on tag pushes, so this PR's CI won't exercise it. It will be exercised at the next release. This PR's CI should show the .ddeb in the deb-ubuntu24 artifact.
  • The .changes/.buildinfo files still refer to the original ~ names internally. That is unchanged by this PR and only matters for dput-style uploads, which aren't done here.

🤖 Generated with Claude Code

GitHub replaces "~" with "." in uploaded release asset names, so
SHA256SUMS-linux.txt listed Debian/Ubuntu package names that do not exist
on the release and `sha256sum -c` failed for every .deb. Rename the assets
before checksumming so the file matches what users download.

Ubuntu's debhelper builds the debug-symbol package as .ddeb, which the
collect step's *.deb glob skipped. Copy it when present and include it in
the checksums.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@danoli3
danoli3 merged commit 1a9e074 into master Oct 17, 2026
64 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