build: bump Gentoo and Void versions in release-version

Move version bumping into scripts/bump-version.sh, rename the ebuild per release, reset the Void checksum, and add make pkg-checksums to fill it after the release.
This commit is contained in:
2026-10-12 20:57:37 +02:00
parent bc85901287
commit d1d0889eb3
3 changed files with 44 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# Usage: scripts/update-checksums.sh
# Fills the Void template checksum from the published release source tarball.
# Run from the repo root after the release workflow has finished.
set -eu
T=pkg/void/srcpkgs/unitdore/template
VER=$(sed -n 's/^version=//p' "$T")
URL="https://git.warky.dev/wdevs/unitdore/releases/download/v$VER/unitdore-v$VER-source.tar.gz"
SUM=$(curl -fsSL "$URL" | sha256sum | cut -d' ' -f1)
sed -i "s/^checksum=.*/checksum=$SUM/" "$T"
echo "void checksum for v$VER: $SUM"