diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-08-31 13:35:44 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-08-31 13:35:44 +0200 |
commit | 20ab839d151a76e01ec37a42721d162ad05455f2 (patch) | |
tree | 1872e3f43e419f0b77c062f13974b6245db9188c /examples | |
parent | 65bf13561b2c9b5c68327ffa88b53ad8cb575b99 (diff) | |
download | git-buildpackage-20ab839d151a76e01ec37a42721d162ad05455f2.tar.gz git-buildpackage-20ab839d151a76e01ec37a42721d162ad05455f2.tar.bz2 git-buildpackage-20ab839d151a76e01ec37a42721d162ad05455f2.zip |
Don't hardcode package name
Diffstat (limited to 'examples')
-rwxr-xr-x[-rw-r--r--] | examples/gbp-svn-tag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/gbp-svn-tag b/examples/gbp-svn-tag index 374b23a1..08313ed3 100644..100755 --- 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 |