feat(release): publish canonical version-less .deb assets (DX-5703)#34
Merged
johnpmitsch merged 1 commit intoJun 15, 2026
Conversation
GitHub's releases/latest/download/<file> redirect only resolves when the filename is identical across releases. The versioned .deb names (qn_X.Y.Z_arm64.deb) gave users no stable URL to point at. The release job now uploads a version-less copy (qn_amd64.deb, qn_arm64.deb) alongside each versioned file. The version lives in the package's control metadata, so apt/dpkg install the correct version regardless of filename. README's .deb section now uses the canonical latest-download URLs; versioned files stay attached for pinning.
machito
approved these changes
Jun 15, 2026
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.
Summary
Enables debian package URL to stay the same, so
curl -LO https://github.com/quicknode/cli/releases/latest/download/qn_amd64.debwill always work.GitHub's
releases/latest/download/<file>redirect only resolves when the filename is identical across releases. Our versioned.debnames (qn_0.1.9_arm64.deb) gave no stable URL to point at.The release job now uploads a version-less copy (
qn_amd64.deb,qn_arm64.deb) alongside each versioned file, unlocking permanent install URLs likereleases/latest/download/qn_amd64.deb. The version lives in the package's control metadata, so apt/dpkg install the right version regardless of filename; versioned files stay attached for pinning. README's.debsection now uses the canonical URLs.Test plan
cargo test. Workflow YAML parses cleanly;cp+ multi-arggh release upload --clobbershell verified by review.curl -IL https://github.com/quicknode/cli/releases/latest/download/qn_amd64.debshould 302 → 200, andapt install ./qn_amd64.debinstall the expected version.Closes DX-5703