CICD-144 · Write release checksum manifest
Encyclopedia · Registries and releases · All snippets
Previous · CICD-143 · Next · CICD-145
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites authorized test registry, scoped credentials and candidate artifact.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
cd dist
sha256sum app.tar.gz app-linux-amd64 > release.sha256
sha256sum --check release.sha2563. How it works
The command records the content hash of the given output. Transfer the manifest with integrity and verify it at the consumer. The command archives or inspects the selected files. Verify the relative paths and file set before using the archive downstream.
4. Verify the result
Upload checksum with the signed release metadata.
Validation syntax-validated (Bash parse). Status definitions.