v0.5.1: automated PKGBUILD checksum, stale .SRCINFO fix
TL;DR
Automated PKGBUILD checksum workflow on release tags, and a stale .SRCINFO fix.
Added
.github/workflows/release-pkgbuild.yml: on av*tag, downloads the GitHub-generated source tarball, computes its sha256, and writespkgver,pkgrel, andsha256sumsintopackaging/aur/PKGBUILDon the default branch, regenerating.SRCINFOwithmakepkg --printsrcinfo. The PKGBUILD shipped to users therefore never carriesSKIP. The checksum is validated withmakepkg --verifysourcebefore the commit, so a wrong hash fails the release rather than reaching a user.
Fixed
.SRCINFOwas stale: it declaredpkgver = 0.3.0(the actual version was 0.5.0), had all-zerosha256sums, and omitted thepython-typerdependency the PKGBUILD requires. Now regenerated and kept current automatically by the release workflow.
Stats
- 1 commit since v0.5.0
- 618 tests (18 files), all passing
- Package version 0.5.1