package-release
Original:🇺🇸 English
Translated
Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages.
1installs
Sourcepeteonrails/voxtype
Added on
NPX Install
npx skill4agent add peteonrails/voxtype package-releaseTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Package Release
Build distribution packages (deb, rpm) for voxtype releases.
Prerequisites
- - Install with
fpmgem install fpm - - Install with
rpmbuildorsudo dnf install rpm-buildsudo pacman -S rpm-tools - Pre-built binaries in
releases/${VERSION}/
Quick Package
If binaries already exist:
bash
./scripts/package.sh --skip-build ${VERSION}Full Build + Package
Build binaries and create packages:
bash
./scripts/package.sh ${VERSION}Options
| Flag | Description |
|---|---|
| Use existing binaries, don't rebuild |
| Build only Debian package |
| Build only RPM package |
| Skip package validation |
| Set package release number (default: 1) |
| Target architecture: x86_64 or aarch64 |
Output
Packages are created in :
releases/${VERSION}/voxtype_${VERSION}-1_amd64.debvoxtype-${VERSION}-1.x86_64.rpm
Validation
The script automatically:
- Validates binaries for CPU instruction contamination
- Checks deb package structure for duplicate fields
- Verifies required control file fields
Workflow
- Build binaries (Docker for AVX2/Vulkan, local for AVX-512)
- Verify binary versions match expected version
- Run
./scripts/package.sh --skip-build ${VERSION} - Test package installation in a VM or container
Common Issues
Binary not found:
Error: Binary not found: releases/0.4.14/voxtype-0.4.14-linux-x86_64-avx2Build binaries first or check the version number.
fpm not found:
bash
gem install fpmValidation failed:
Check the specific error. Usually means Docker cache is stale.