Skip to content

Name the bare asset in release checksum files - #2

Open
aspuru wants to merge 1 commit into
EvoEvolver:mainfrom
aspuru:checksum-file-names
Open

aspuru wants to merge 1 commit into
EvoEvolver:mainfrom
aspuru:checksum-file-names

Conversation

@aspuru

@aspuru aspuru commented Nov 28, 2026

Copy link
Copy Markdown

The release workflow runs sha256sum "dist/${asset}" > "dist/${asset}.sha256", so the checksum file reads <digest> dist/biblock-<target>.tar.gz. After downloading both assets into one folder, sha256sum -c biblock-<target>.tar.gz.sha256 fails because dist/... does not exist.

This hashes from inside dist, so the file reads <digest> biblock-<target>.tar.gz. install.sh reads only the digest, so it works with old and new files. Already published releases are not changed.

Checked locally by running the Package step on a dummy file with both sha256sum and shasum, then -c in another folder; the workflow itself has not run on GitHub or macOS.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V32c5uYWnzpBnStwXw58zY

The release workflow hashed "dist/<asset>", so each .sha256 file named a path
that does not exist next to a downloaded archive and `sha256sum -c` failed.
Hash from inside dist instead. install.sh reads only the digest and is
unaffected.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V32c5uYWnzpBnStwXw58zY
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