X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=ppa_release.sh;h=4d1e592013cc6c9230700148407975d085984970;hb=aa946722550390a44fb70a43f16ab4cc9c00ee3b;hp=9913f6b822523aa0dfa521555748e7d6305af3ce;hpb=074b5d46aab95a8c492d8181a4869bf02a6a08a9;p=torbrowser-launcher.git diff --git a/ppa_release.sh b/ppa_release.sh index 9913f6b..4d1e592 100755 --- a/ppa_release.sh +++ b/ppa_release.sh @@ -1,15 +1,29 @@ #!/bin/sh # This script pushes updates to my Ubuntu PPA: https://launchpad.net/~micahflee/+archive/ppa -# If you want to use it, you'll need your own ~/.dput.cf and ssh key. # More info: https://help.launchpad.net/Packaging/PPA/Uploading +# +# If you want to use it, you'll need your own ~/.dput.cf. Here's mine: +# +# [ppa] +# fqdn = ppa.launchpad.net +# method = ftp +# incoming = ~micahflee/ubuntu/ppa/ +# login = anonymous +# allow_unsigned_uploads = 0 -VERSION=`cat version` +VERSION=`cat share/torbrowser-launcher/version` +# Make a source pacakge rm -rf deb_dist -python setup.py --command-packages=stdeb.command sdist_dsc +python3 setup.py --command-packages=stdeb.command sdist_dsc + +# Sign it cd deb_dist/torbrowser-launcher-$VERSION dpkg-buildpackage -S +#dpkg-buildpackage -S -pqubes-gpg-client-wrapper -k927F419D7EC82C2F149C1BD1403C2657CD994F73 cd .. -dput ppa:micahflee/ppa torbrowser-launcher_$VERSION-1_source.change + +# Push it to the ppa +dput ppa torbrowser-launcher_$VERSION-1_source.changes cd ..