From 20ab839d151a76e01ec37a42721d162ad05455f2 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Tue, 31 Aug 2010 13:35:44 +0200 Subject: Don't hardcode package name --- examples/gbp-svn-tag | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 examples/gbp-svn-tag (limited to 'examples') diff --git a/examples/gbp-svn-tag b/examples/gbp-svn-tag old mode 100644 new mode 100755 index 374b23a1..08313ed3 --- a/examples/gbp-svn-tag +++ b/examples/gbp-svn-tag @@ -4,6 +4,7 @@ DIST=$(dpkg-parsechangelog | awk "/^Distribution:/{ print \$2; }") VERSION=$(dpkg-parsechangelog | awk "/^Version:/{ print \$2; }") +PKG=$(dpkg-parsechangelog | awk "/^Source:/{ print \$2; }") if [ "$DIST" = "UNRELEASED" ]; then @@ -14,5 +15,5 @@ elif [ -z "$VERSION" ]; then exit 1 fi -git svn tag -m"Tagging system-config-printer ($VERSION)" $VERSION +git svn tag -m"Tagging $PKG ($VERSION)" $VERSION -- cgit v1.2.3