From 1383711fad524925c885d5021c85aa2ae090cd87 Mon Sep 17 00:00:00 2001 From: "Chun-Yu Lee (Mat)" Date: Mon, 17 Nov 2014 12:41:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AA=BF=E6=95=B4=20PPA=20?= =?UTF-8?q?=E7=99=BC=E4=BD=88=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/deb/debian/changelog | 4 +-- pkg/deb/ppa.sh | 73 ++++++++++++++++++++++++++++++++++++++++ pkg/deb/release.sh | 52 ---------------------------- 3 files changed, 75 insertions(+), 54 deletions(-) create mode 100644 pkg/deb/ppa.sh delete mode 100644 pkg/deb/release.sh diff --git a/pkg/deb/debian/changelog b/pkg/deb/debian/changelog index 5191a81..8f10187 100644 --- a/pkg/deb/debian/changelog +++ b/pkg/deb/debian/changelog @@ -1,5 +1,5 @@ -sysd (0.4.1-2utopic2) utopic; urgency=low +sysd (0.6.0) unstable; urgency=medium * Initial release. - -- Chun-Yu Lee (Mat) Mon, 04 Nov 2014 16:00:00 +0800 + -- Chun-Yu Lee (Mat) Fri, 14 Nov 2014 17:51:44 +0000 diff --git a/pkg/deb/ppa.sh b/pkg/deb/ppa.sh new file mode 100644 index 0000000..e60f41d --- /dev/null +++ b/pkg/deb/ppa.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +ROOT="$( cd $( dirname $0 ) && pwd -P )/../.." + +get_gpg_signname(){ + local result=$( gpg --list-secret-keys| grep uid | head --lines=1 | cut -c 22- ) + echo $result +} + +function local_dput(){ + local TARGET="$1" + + local DPUT_CONF="/tmp/._dput.cf" + + cat > $DPUT_CONF <