1 Releasing a new Debian package
2 ==============================
4 0. (optional) Test the build:
7 gbp buildpackage --git-ignore-new
9 1. Update Debian changelog for the new release:
11 git checkout debian/changelog # remove any snapshots etc. from the changelog
12 gbp dch --release --commit
14 This opens an editor, where you can (if needed) change the package
15 version or the changelog entries generated automatically from git
20 gbp buildpackage --git-tag -b -uc -us
22 The `-b -uc` options and possibly others are passed to the build
23 tool. You can add `--git-builder=sbuild` if you want to use
24 `sbuild` command to build the package in clean environment. Then
25 use required sbuild options instead of `-b -uc`.
27 3. Push new commit (change log) and version tag to the server:
29 git push --follow-tags