Skip to content

Commit 3b85f87

Browse files
committed
update installation instructions
1 parent 3ae8df5 commit 3b85f87

File tree

3 files changed

+140
-73
lines changed

3 files changed

+140
-73
lines changed

BUILD.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,24 @@ vim VERSION.txt # modify version
55
git add VERSION.txt
66
version=$(<VERSION.txt)
77
git commit -m "Release v${version}"
8-
git tag v${version}
98
```
109

1110
# Build DEB package
1211

1312
```shell
1413
sudo apt -y install python3-setuptools debhelper dh-exec dh-python git-buildpackage
15-
gbp dch --commit
16-
gbp buildpackage -uc -us
14+
version=$(<VERSION.txt)
15+
gbp dch --commit --new-version=${version}-1 --release --distribution=stable
16+
git tag v${version}
17+
gbp buildpackage -uc -us --git-upstream-tree=main
1718
```
1819

1920
# Build RPM packages
2021

2122
```shell
2223
sudo dnf -y install rpm-build git python3-setuptools
24+
version=$(<VERSION.txt)
25+
git tag v${version}
2326
python3 setup.py bdist_rpm --python=/usr/bin/python3
2427
rpmbuild -bb patchman-client.spec
2528
```

0 commit comments

Comments
 (0)