]> git.lizzy.rs Git - torbrowser-launcher.git/blob - ppa_release.sh
Allow url_list
[torbrowser-launcher.git] / ppa_release.sh
1 #!/bin/sh
2
3 # This script pushes updates to my Ubuntu PPA: https://launchpad.net/~micahflee/+archive/ppa
4 # More info: https://help.launchpad.net/Packaging/PPA/Uploading
5 #
6 # If you want to use it, you'll need your own ~/.dput.cf. Here's mine:
7 #
8 # [ppa]
9 # fqdn = ppa.launchpad.net
10 # method = ftp
11 # incoming = ~micahflee/ubuntu/ppa/
12 # login = anonymous
13 # allow_unsigned_uploads = 0
14
15 VERSION=`cat share/torbrowser-launcher/version`
16
17 # Make a source pacakge
18 rm -rf deb_dist
19 python3 setup.py --command-packages=stdeb.command sdist_dsc
20
21 # Sign it
22 cd deb_dist/torbrowser-launcher-$VERSION
23 dpkg-buildpackage -S
24 #dpkg-buildpackage -S -pqubes-gpg-client-wrapper -k927F419D7EC82C2F149C1BD1403C2657CD994F73
25 cd ..
26
27 # Push it to the ppa
28 dput ppa torbrowser-launcher_$VERSION-1_source.changes
29 cd ..