con un clic
package-release
// Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages.
// Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages.
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.
Publish voxtype to AUR. Updates PKGBUILD, generates checksums, and pushes to AUR. Use after a GitHub release is published.
Test voxtype in Docker containers. Use for testing builds, verifying packages work on different distros, or isolating test environments.
| name | package-release |
| description | Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Glob"] |
Build distribution packages (deb, rpm) for voxtype releases.
fpm - Install with gem install fpmrpmbuild - Install with sudo dnf install rpm-build or sudo pacman -S rpm-toolsreleases/${VERSION}/If binaries already exist:
./scripts/package.sh --skip-build ${VERSION}
Build binaries and create packages:
./scripts/package.sh ${VERSION}
| Flag | Description |
|---|---|
--skip-build | Use existing binaries, don't rebuild |
--deb-only | Build only Debian package |
--rpm-only | Build only RPM package |
--no-validate | Skip package validation |
--release N | Set package release number (default: 1) |
--arch ARCH | Target architecture: x86_64 or aarch64 |
Packages are created in releases/${VERSION}/:
voxtype_${VERSION}-1_amd64.debvoxtype-${VERSION}-1.x86_64.rpmThe script automatically:
./scripts/package.sh --skip-build ${VERSION}Binary not found:
Error: Binary not found: releases/0.4.14/voxtype-0.4.14-linux-x86_64-avx2
Build binaries first or check the version number.
fpm not found:
gem install fpm
Validation failed: Check the specific error. Usually means Docker cache is stale.