[[!meta title="Releasing tails-greeter"]]

*Tails Greeter* is a native Debian package.

[[!toc levels=1]]

Update POT and PO files
=======================

    ./setup.py build_i18n && \
       (cd po && \
           for po in *.po ; do msgmerge --update "$po" \
           tails-greeter.pot ; done \
       ) && \
       git commit po -m 'Update POT and PO files.'

Update the Debian package
=========================

Checkout the correct branch:

    git checkout master

Update `debian/changelog`:

    gbp dch

(Do not forget to set the appropriate release.)

Commit the changelog:

    git commit debian/changelog -m "$(head -n 1 debian/changelog | sed -e 's,).*,),')

Git-Dch: Ignore
"

Build a new Debian package (use a Jessie/i386 chroot):

    gbp buildpackage

If everything is fine, tag the release and push the changes:

    gbp buildpackage --git-tag-only --git-sign-tags --git-keyid=$PGP_PUB_KEY && \
    git push origin master:master && git push --tags

Add the Debian package to Tails
===============================

Sign the package:

    debsign $CHANGES_FILE

Upload:

    dupload --to tails $CHANGES_FILE
