&dhemail;
&dhfirstname;
&dhsurname;
git-buildpackage
&dhsection;
&git-buildpackage;Build Debian packages from a Git repository
&git-buildpackage;
branch_namebranch_nameBUILD_CMDCLEAN_CMDgpg-keyidDESCRIPTION
&git-buildpackage; is used to build Debian source and .deb packages from a &git; repository.
&git-buildpackage; will, in order:
Verify that it is being executed from the
proper location.Verify that the reopository doesn't contain any
uncommitted source changes.Verify that it is being executed from the
correct branch.Build an orig.tar.gz if it doesn't exist.Call debuild(1)
(or the application specified via )
with arguments instructing it to ignore &git; meta-data in
the diff.gz, passing along all arguments given to
&git-buildpackage; that don't start with --git-.
OPTIONSBuild the .diff.gz and debian package although there are
uncommitted changes in the source tree.Add a git tag after a successfull build.Use BUILD_CMD instead of debuildUse CLEAN_CMD instead of debuild cleanverbose execution=branch_nameBranch to build the orig.tar.gz from. Default is upstream=branch_nameIf you're not on this branch when invoking &git-buildpackage;
it will fail. Default is master. This is
done to make sure you don't accidentally release from a topic branch.
Not being on this branch will be ignored when using
.
GPG sign all created tagsgpg-keyiduse this keyid for gpg signing tags
&man.git.config-files;
All options in the config files are specified without the 'git-' prefix.SEE ALSOgit-import-dsc (1), git-import-orig (1), debuild (1), git (1)AUTHOR&dhusername; &dhemail;