Skip to content

fix: verify Cloudsmith downloads at the raw versions path - #12

Merged
BartoszBlizniak merged 1 commit into
mainfrom
fix/cloudsmith-download-paths
Jul 30, 2026
Merged

fix: verify Cloudsmith downloads at the raw versions path#12
BartoszBlizniak merged 1 commit into
mainfrom
fix/cloudsmith-download-paths

Conversation

@BartoszBlizniak

Copy link
Copy Markdown
Member

Description

The v0.1.0 release run published cli.sh, cli.ps1, and SHA256SUMS to Cloudsmith successfully, but the verify step then failed: it checked raw/names/<name>/versions/<version>/<name>, while the files are actually served at raw/versions/<version>/<file> (confirmed live on both dl.cloudsmith.io and install.cloudsmith.com).

  • Verify against the real raw/versions/<version>/<file> path.
  • Download to a file before hashing, so a failed download hits the private-repository skip notice instead of hashing an empty stream and reporting a spurious checksum mismatch.
  • README: document the served URLs (https://install.cloudsmith.com/raw/versions/latest/cli.sh) for both the one-command install and pinned/verified downloads.
  • CHANGELOG: fold the publish job (shipped in v0.1.0) into the 0.1.0 section and record this fix under Unreleased.

Validation

  • zizmor --pedantic: no findings
  • bats tests/install.bats: 39/39
  • All three raw/versions/{0.1.0,latest} URLs verified returning the published content

🤖 Generated with Claude Code

The published files are served at raw/versions/<version>/<file>, not the
raw/names path the verify step used, so a green publish failed on a 404.
The download is also captured to a file first, so a failed download now
hits the skip notice instead of hashing an empty stream and reporting a
spurious checksum mismatch. Documents the served URLs in the README and
folds the shipped publish job into the 0.1.0 changelog section.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 30, 2026 10:34
@BartoszBlizniak
BartoszBlizniak requested a review from a team as a code owner July 30, 2026 10:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the release workflow’s Cloudsmith verification step to check the actual served download path (raw/versions/<version>/<file>), aligns the README examples with the stable served URLs, and updates the changelog to reflect the verification fix under Unreleased.

Changes:

  • Update release workflow verification URLs to raw/versions/<version>/<file> and download to disk before hashing.
  • Update README install + pinned/verified download URLs to https://install.cloudsmith.com/raw/versions/....
  • Update CHANGELOG to fold the publish job into 0.1.0 and record this verification fix under Unreleased.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Updates documented Cloudsmith URLs to the served raw/versions/... endpoints for latest and pinned downloads.
CHANGELOG.md Records the verification-path fix under Unreleased and consolidates the 0.1.0 release notes.
.github/workflows/release.yml Fixes the verification download path and avoids hashing an empty stream by downloading to a file first.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml
@BartoszBlizniak
BartoszBlizniak merged commit c72ab6a into main Jul 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants