pg_durable
pg_durable copied to clipboard
Followup to #190: harden release job and drop arm64 scaffolding
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/aarch64branches inscripts/package-deb.shandscripts/validate-deb-package.shwere dead code. They now reject unsupported architectures explicitly. (Addresses the Copilot review comments on #190 about the arm64 description/implementation mismatch.) - Least-privilege permissions — scope
contents: writeto thereleasejob only; the rest of the workflow runs withcontents: read. - Publish
.debassets directly — upload the.debfiles as release assets instead of wrapping them in zips, matching the README's documented asset names. Removes the now-unused zip step andzipbuild dependency. - Asset integrity — publish a
SHA256SUMSfile so downloaders can verify release assets; README updated to mention it.
Validation
python3 -c "import yaml; yaml.safe_load(...)"on the workflowbash -non both packaging scriptsgit diff --check