summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2013-08-10 11:15:52 +0200
committerFlorian Bruhin <git@the-compiler.org>2013-08-10 11:15:52 +0200
commitac3dad37c7a271e031e66c98cae272224d9a7ab9 (patch)
treecdd76eb1793b94e121f46c3d73f101950be5adea
parent0cccbc298558afda6202f6656a67c7a25439b593 (diff)
downloadsshtunnel-ac3dad37c7a271e031e66c98cae272224d9a7ab9.tar.gz
sshtunnel-ac3dad37c7a271e031e66c98cae272224d9a7ab9.zip
Add --tags to git describe
-rw-r--r--pkgbuild/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgbuild/PKGBUILD b/pkgbuild/PKGBUILD
index b588d77..5dd5a69 100644
--- a/pkgbuild/PKGBUILD
+++ b/pkgbuild/PKGBUILD
@@ -20,7 +20,7 @@ sha1sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
- git describe --always | sed -e 's/-/./g' -e 's/^v//'
+ git describe --always --tags | sed -e 's/-/./g' -e 's/^v//'
}
package() {