From 8edab755cf5e3476ccfdf89044081c07ff3c82a6 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 31 May 2011 07:25:04 +0200 Subject: [PATCH] add sbp-release --- backup | 4 ++-- sbp-release | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 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 -- 2.39.2