con un clic
aur-publish
// Publish voxtype to AUR. Updates PKGBUILD, generates checksums, and pushes to AUR. Use after a GitHub release is published.
// Publish voxtype to AUR. Updates PKGBUILD, generates checksums, and pushes to AUR. Use after a GitHub release is published.
Build all voxtype binaries for release. Builds Whisper (AVX2, AVX-512, Vulkan) and ONNX (AVX2, AVX-512, CUDA) binaries using Docker. Use when preparing a new release.
Run regression tests for voxtype releases. Use before major releases to verify core functionality, CLI commands, and configuration handling.
Run interactive smoke tests for voxtype. Tests recording cycles, CLI overrides, signal handling, and service management. Use after installing a new build.
Triage a GitHub issue or PR by checking for duplicates, documentation alignment, project fit, and recommending labels.
Test voxtype in Docker containers. Use for testing builds, verifying packages work on different distros, or isolating test environments.
Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages.
| name | aur-publish |
| description | Publish voxtype to AUR. Updates PKGBUILD, generates checksums, and pushes to AUR. Use after a GitHub release is published. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Edit","Glob"] |
Update and publish voxtype packages to the Arch User Repository.
| Package | Type | Location |
|---|---|---|
voxtype | Source build | packaging/arch/ |
voxtype-bin | Pre-built binaries | packaging/arch-bin/ |
E79F5BAF8CD51A806AA27DBB7DA2709247D75BC6Download binaries from GitHub release and generate checksums:
VERSION=0.4.14
cd releases/${VERSION}
sha256sum voxtype-${VERSION}-linux-x86_64-avx2
sha256sum voxtype-${VERSION}-linux-x86_64-avx512
sha256sum voxtype-${VERSION}-linux-x86_64-vulkan
Edit packaging/arch-bin/PKGBUILD:
pkgver to new versionpkgrel to 1sha256sums array with new checksumscd packaging/arch-bin
makepkg --printsrcinfo > .SRCINFO
makepkg -si
cd packaging/arch-bin
git add PKGBUILD .SRCINFO
git commit -S -m "Update to ${VERSION}"
git push
Always bump pkgver, never just pkgrel when binaries change.
The download URLs include pkgver:
https://github.com/peteonrails/voxtype/releases/download/v$pkgver/voxtype-$pkgver-linux-x86_64-avx2
If only pkgrel changes, the URL stays the same and AUR helpers cache the old file.
Never re-upload different binaries to an existing GitHub release.
This causes checksum mismatches for users with cached PKGBUILDs.
pkgver updated in PKGBUILDpkgrel reset to 1.SRCINFO regeneratedmakepkg -si succeeds