CICD-485 · Cross-platform release packaging
Encyclopedia · Mobile, desktop and binary distribution · All snippets
Previous · CICD-484 · Next · CICD-486
1. Where it fits
- Placement release aggregation step.
- Prerequisites approved toolchains and isolated build/signing runner when credentials are required.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
find dist -maxdepth 1 -type f -name 'app-*' -print0 | sort -z | xargs -0 -r sha256sum > SHA256SUMS
test -s SHA256SUMS
sha256sum --strict --check SHA256SUMS3. 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 shell predicate makes the expected state explicit and returns a nonzero status when it is not satisfied.
4. Verify the result
Download one uniquely named archive per OS and architecture from the trusted build, then validate all expected targets.
Validation syntax-validated (Bash parse). Status definitions.