tails-greeter.mdwn 1.06 KB
Newer Older
1
[[!meta title="Releasing tails-greeter"]]
2

3
*Tails Greeter* is a native Debian package.
4
5
6

[[!toc levels=1]]

7
8
9
Update POT and PO files
=======================

Tails developers's avatar
Tails developers committed
10
    ./setup.py build_i18n && \
Tails developers's avatar
Tails developers committed
11
12
13
14
       (cd po && \
           for po in *.po ; do msgmerge --update "$po" \
           tails-greeter.pot ; done \
       ) && \
Tails developers's avatar
Tails developers committed
15
       git commit po -m 'Update POT and PO files.'
16

17
18
19
Update the Debian package
=========================

20
21
22
23
Checkout the correct branch:

    git checkout master

24
25
Update `debian/changelog`:

26
    git-dch
27

28
29
(Do not forget to set the appropriate release.)

30
31
Commit the changelog:

Tails developers's avatar
Tails developers committed
32
    git commit debian/changelog -m "$(head -n 1 debian/changelog | sed -e 's,).*,),')"
33

34
Build a new Debian package (use a Squeeze/i386 chroot):
35

36
    git-buildpackage
37
38
39

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

Tails developers's avatar
Tails developers committed
40
    git-buildpackage --git-tag-only --git-sign-tags --git-keyid=$PGP_PUB_KEY && \
41
    git push && git push --tags
42

43
44
45
46
47
48
49
50
Add the Debian package to Tails
===============================

Sign the package:

    debsign $CHANGES_FILE

Upload:
51

52
    dupload --to tails $CHANGES_FILE