Building packages from the Git repository

In order to build a Debian package from the Git repository you use: git-buildpackage. During the development phase (when you're either not on the master-branch or when you have uncommitted changes in your repository) you'll usually use:

git-buildpackage --git-ignore-new
Once you're satisfied with the build and want to do a relese you commit all your changes and issue:
git-buildpackage --git-tag
This will again build the debian package and tag the final result after extracting the current version from the changelog. If you want GPG signed tags you can use the --git-sign and --git-keyid options.