Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 516 Bytes

BUILD.md

File metadata and controls

25 lines (20 loc) · 516 Bytes

Bump version and tag release

vim VERSION.txt  # modify version
git add VERSION.txt
version=$(<VERSION.txt)
git commit -m "Release v${version}"
git tag v${version}

Build DEB package

sudo apt -y install python3-setuptools debhelper dh-exec dh-python git-buildpackage
gbp dch --commit
gbp buildpackage -uc -us

Build RPM packages

sudo dnf -y install rpm-build git python3-setuptools
python3 setup.py bdist_rpm --python=/usr/bin/python3
rpmbuild -bb patchman-client.spec