summaryrefslogtreecommitdiffhomepage
path: root/docs/chapters/building.sgml
blob: 8de8fd4c9df12102a2f3a49a700703688388c67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<chapter id="gbp.building">
    <title>Building packages from the &git; repository</title>
    <para>
    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 <emphasis>master</emphasis>-branch or when you have uncommitted
    changes in your repository) you'll usually use:
<screen>
&git-buildpackage; <option>--git-ignore-new</option>
</screen>
    Once you're satisfied with the build and want to do a relese you commit all
    your changes and issue:
<screen>
&git-buildpackage; <option>--git-tag</option>
</screen>
    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 <option>--git-sign</option> and
    <option>--git-keyid</option> options.
    </para>
</chapter>