We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33d6fc commit 121a94aCopy full SHA for 121a94a
3 files changed
BUILD.md
@@ -5,21 +5,24 @@ vim VERSION.txt # modify version
5
git add VERSION.txt
6
version=$(<VERSION.txt)
7
git commit -m "Release v${version}"
8
-git tag v${version}
9
```
10
11
# Build DEB package
12
13
```shell
14
sudo apt -y install python3-setuptools debhelper dh-exec dh-python git-buildpackage
15
-gbp dch --commit
16
-gbp buildpackage -uc -us
+version=$(<VERSION.txt)
+gbp dch --commit --new-version=${version}-1 --release --distribution=stable
+git tag v${version}
17
+gbp buildpackage -uc -us --git-upstream-tree=main
18
19
20
# Build RPM packages
21
22
23
sudo dnf -y install rpm-build git python3-setuptools
24
25
26
python3 setup.py bdist_rpm --python=/usr/bin/python3
27
rpmbuild -bb patchman-client.spec
28
0 commit comments