Skip to content

feat(release): publish canonical version-less .deb assets (DX-5703)#34

Merged
johnpmitsch merged 1 commit into
mainfrom
dx-5703-publish-canonical-version-less-deb-assets-for-stable-latest
Jun 15, 2026
Merged

feat(release): publish canonical version-less .deb assets (DX-5703)#34
johnpmitsch merged 1 commit into
mainfrom
dx-5703-publish-canonical-version-less-deb-assets-for-stable-latest

Conversation

@johnpmitsch

@johnpmitsch johnpmitsch commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Enables debian package URL to stay the same, so curl -LO https://github.com/quicknode/cli/releases/latest/download/qn_amd64.deb will always work.

GitHub's releases/latest/download/<file> redirect only resolves when the filename is identical across releases. Our versioned .deb names (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 like releases/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 .deb section now uses the canonical URLs.

Test plan

  • CI-config + docs only — not covered by cargo test. Workflow YAML parses cleanly; cp + multi-arg gh release upload --clobber shell verified by review.
  • Post-release smoke: curl -IL https://github.com/quicknode/cli/releases/latest/download/qn_amd64.deb should 302 → 200, and apt install ./qn_amd64.deb install the expected version.

Closes DX-5703

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.
@johnpmitsch johnpmitsch merged commit 6a78412 into main Jun 15, 2026
13 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.

2 participants