Skip to content

Followup to #190: harden release job and drop arm64 scaffolding#203

Open
pinodeca wants to merge 3 commits into
mainfrom
followup/package-release-amd64-cleanup
Open

Followup to #190: harden release job and drop arm64 scaffolding#203
pinodeca wants to merge 3 commits into
mainfrom
followup/package-release-amd64-cleanup

Conversation

@pinodeca
Copy link
Copy Markdown
Contributor

@pinodeca pinodeca commented Jun 4, 2026

Followup to #190 (merged) addressing review feedback and self-review items that were not part of the squashed merge.

Changes

  • Drop unused arm64 scaffolding — the build/validate matrices and README are amd64-only, so the arm64/aarch64 branches in scripts/package-deb.sh and scripts/validate-deb-package.sh were dead code. They now reject unsupported architectures explicitly. (Addresses the Copilot review comments on Add release package workflow #190 about the arm64 description/implementation mismatch.)
  • Least-privilege permissions — scope contents: write to the release job only; the rest of the workflow runs with contents: read.
  • Publish .deb assets directly — upload the .deb files as release assets instead of wrapping them in zips, matching the README's documented asset names. Removes the now-unused zip step and zip build dependency.
  • Asset integrity — publish a SHA256SUMS file so downloaders can verify release assets; README updated to mention it.

Validation

  • python3 -c "import yaml; yaml.safe_load(...)" on the workflow
  • bash -n on both packaging scripts
  • git diff --check

pinodeca and others added 3 commits June 4, 2026 15:39
The build/validate matrix and README only target amd64, so the arm64
branches in the packaging scripts were dead code. Remove them so the
scripts reject unsupported architectures explicitly.
- Scope contents:write to the release job only; the rest of the
  workflow runs read-only (least privilege).
- Upload the .deb files as release assets directly instead of wrapping
  them in zips, matching the README's documented asset names.
- Publish a SHA256SUMS file so downloaders can verify assets.
- Drop the now-unused zip packaging step and build dependency.
@pinodeca pinodeca force-pushed the followup/package-release-amd64-cleanup branch from 7503cf4 to 03e4ed9 Compare June 4, 2026 15:40
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.

1 participant