summaryrefslogtreecommitdiffstats
path: root/wiki/src/contribute/release_process/tails-greeter.mdwn
blob: 100caf685e5516a3b83334a3acfb52df2f23902e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[[!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.'


Prepare a release
=================

Run `./scripts/release.sh` and follow the instructions.


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 "$(dpkg-parsechangelog -SSource) ($(dpkg-parsechangelog -SVersion))
    Git-Dch: Ignore
    "

Build a new Debian package (use a Stretch/amd64 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 --follow-tags origin master:master

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

Sign the package:

    debsign $CHANGES_FILE

Upload:

    dupload --to tails $CHANGES_FILE