From: Martin Pitt Date: Tue, 31 May 2011 05:25:04 +0000 (+0200) Subject: add sbp-release X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=8edab755cf5e3476ccfdf89044081c07ff3c82a6;p=bin.git add sbp-release --- diff --git a/backup b/backup index 0c1fe41..db4faaa 100755 --- a/backup +++ b/backup @@ -41,6 +41,6 @@ get_age weekly.0 # call rsnapshot echo mode: $mode -notify-send "$mode backup started" || : +#notify-send "$mode backup started" || : rsnapshot -c ~/.rsnapshotrc $mode -notify-send "$mode backup finished" || : +#notify-send "$mode backup finished" || : diff --git a/sbp-release b/sbp-release new file mode 100755 index 0000000..2a77c6b --- /dev/null +++ b/sbp-release @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +V=`dpkg-parsechangelog | grep ^Version: | cut -f2- -d' '` +D=`dpkg-parsechangelog | grep ^Distribution: | cut -f2- -d' '` + +svn commit -m "release $V to $D" +svn up +svn-buildpackage --svn-tag-only +svn-revert debian/changelog