Skip to content

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