forked from evolix/evocheck
Updated the README file for new packaging method
This commit is contained in:
parent
fcaf4fc430
commit
e787815ee9
26
README.md
26
README.md
|
@ -1,14 +1,24 @@
|
||||||
Release:
|
|
||||||
|
|
||||||
|
# How to build the package for a new release
|
||||||
|
|
||||||
|
On the master branch, add the last stable version with a release tag.
|
||||||
```
|
```
|
||||||
master> git archive --format=tar master | gzip > ../evocheck_<VERSION>.orig.tar.gz
|
git tag -s v<VERSION> -m 'New release'
|
||||||
master> pristine-tar commit ../evocheck_<VERSION>.orig.tar.gz master
|
git push --tags
|
||||||
```
|
```
|
||||||
|
|
||||||
Debian release:
|
Checkout the branch debian, merge the master branch.
|
||||||
|
|
||||||
```
|
```
|
||||||
debian-sid> git merge master
|
git checkout debian
|
||||||
debian-sid> dch -v <VERSION>-1
|
git merge master --no-ff
|
||||||
debian-sid> git-buildpackage -us -uc --git-pristine-tar --git-upstream-branch=master --git-debian-branch=debian-sid
|
dch -v <VERSION>-1
|
||||||
```
|
gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-ignore-new
|
||||||
|
```
|
||||||
|
|
||||||
|
If the build is OK, you can now build the final package.
|
||||||
|
|
||||||
|
```
|
||||||
|
dch -D stretch -r
|
||||||
|
gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-tag --git-sign --git-keyid=<KEY>
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue