--- /dev/null
+#!/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