From 5a3957d8c4666268954603a2f66c40b959e5a7db Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 22 Aug 2014 12:31:46 -0700 Subject: [PATCH] added script to publish to PPA --- ppa_release.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 ppa_release.sh diff --git a/ppa_release.sh b/ppa_release.sh new file mode 100755 index 00000000..2fe74d2b --- /dev/null +++ b/ppa_release.sh @@ -0,0 +1,15 @@ +#!/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 + +VERSION=`cat version` + +rm -rf deb_dist +python setup.py --command-packages=stdeb.command sdist_dsc +cd deb_dist/onionshare-$VERSION +dpkg-buildpackage -S +cd .. +dput ppa:micahflee/ppa onionshare_$VERSION-1_source.changes +cd ..