Repository navigation
Fix Linux release checksums and attach Ubuntu .ddeb - #185
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
SHA256SUMS-linux.txtdoesn'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 releasesha256sum -c SHA256SUMS-linux.txtfails to find all five.debfiles. The hashes themselves are correct; only the names are wrong. The Arch package, source archive and PKGBUILD lines already verify.libfreeimage-maintained3-dbgsymas a.ddeb. The "Collect package downloads" step only copies*.deb, so Debian 13 releases include debug symbols and Ubuntu releases do not.Fix
~to.in asset names before runningsha256sum, so the checksum file lists the names users actually download. Include*.ddeb, usingnullglobso a missing pattern doesn't break the step.../*.ddebintodist/when one exists.Testing
~names, added a.ddeb, and ran the new checksum step. Every name in the generated file matches the uploaded name, andsha256sum -cpasses for all of them..ddebin thedeb-ubuntu24artifact..changes/.buildinfofiles still refer to the original~names internally. That is unchanged by this PR and only matters fordput-style uploads, which aren't done here.🤖 Generated with Claude Code