[pt-br] Update translation bits.
[tails-test.git] / wiki / src / contribute / release_process / Torbutton.mdwn
blob99aaf4bcac3e67d80cacf7e71567377a18205346
1 [[!meta title="Releasing Torbutton"]]
3 [[!toc levels=1]]
5 Update the Debian package
6 =========================
8 Add a remote with upstream repository if not already done:
10     $ git remote add upstream-remote https://git.torproject.org/torbutton.git
12 Verify the new upstream tag:
14     git tag -v <version>
16 Merge the new upstream tag:
18     git checkout upstream
19     git merge <version>
20     git tag upstream/<version>
22 Merge `upstream` branch to `master` branch:
24     git checkout master
25     git merge upstream/<version>
27 Update `debian/changelog`:
29     git-dch -v <version>-1
31 (Do not forget to set the appropriate release.)
33 Commit the changelog:
35     git commit debian/changelog
37 Build a new Debian package:
39     git-buildpackage
41 If everything is fine, tag the release and push the changes:
43     git-buildpackage --git-tag-only --git-sign-tags
44     git push && git push --tags
46 Add the Debian package to Tails
47 ===============================
49 Sign the package:
51     debsign $CHANGES_FILE
53 Upload:
55     dupload --to tails $CHANGES_FILE