evocheck/README.md

25 lines
656 B
Markdown
Raw Normal View History

# How to build the package for a new release
On the master branch, add the last stable version with a release tag.
```
git tag -s v<VERSION> -m 'New release'
git push --tags
```
Checkout the branch debian, merge the master branch.
2009-07-18 20:27:22 +02:00
2017-12-14 11:29:07 +01:00
```
git checkout debian
git merge master --no-ff
dch -v <VERSION>-1
gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-export-dir=/tmp/build-area --git-ignore-new
2017-12-14 11:29:07 +01:00
```
2009-07-18 20:27:22 +02:00
If the build is OK, you can now build the final package.
2009-07-18 20:27:22 +02:00
2017-12-14 11:29:07 +01:00
```
dch -D stretch -r
gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-export-dir=/tmp/build-area --git-tag --git-sign --git-keyid=<KEY>
```