package-release
Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages.
How to use
Zainstaluj wymagane narzędzia: fpm (gem install fpm) oraz rpmbuild (sudo dnf install rpm-build lub sudo pacman -S rpm-tools).
Przygotuj binaria — umieść prebudowane binaria w katalogu releases/${VERSION}/ lub uruchom pełny build za pomocą skryptu package.sh.
Jeśli binaria już istnieją, uruchom ./scripts/package.sh --skip-build ${VERSION}, gdzie ${VERSION} to numer wersji (np. 0.4.14). Skrypt automatycznie utworzy pakiety deb i rpm w katalogu releases/${VERSION}/.
Dla pełnego buildu bez pominięcia budowania binariów uruchom ./scripts/package.sh ${VERSION} — skrypt zbuduje binaria i następnie spakuje je.
Dostosuj proces za pomocą flag: --deb-only lub --rpm-only aby budować tylko jeden typ pakietu, --arch ARCH aby wybrać architekturę (x86_64 lub aarch64), --release N aby ustawić numer wydania pakietu.
Zweryfikuj wyniki — skrypt automatycznie waliduje binaria pod kątem instrukcji CPU i sprawdza strukturę pakietów. Gotowe pakiety znajdziesz w releases/${VERSION}/ z nazwami voxtype_${VERSION}-1_amd64.deb i voxtype-${VERSION}-1.x86_64.rpm.