diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-15 21:18:17 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:44 +0200 |
commit | 29c36f3d25d33a0753296197ae3ef19cc17f4e24 (patch) | |
tree | 459b82fb47e2b55f459498d12c95a839c745d0e1 /PKGBUILD | |
parent | aa34aa11690e1c890c3bf004ee6af47a2d154fb9 (diff) | |
download | pkgbuilds-29c36f3d25d33a0753296197ae3ef19cc17f4e24.tar.xz |
youtube-dl-git: Add --long to git-describe
Otherwise git-describe produces an incorrect pkgver right after a commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ pkgname=youtube-dl-git -pkgver=2014.11.09 +pkgver=2014.11.13.r0.g2d42905 pkgrel=1 pkgdesc='A small command-line program to download videos from YouTube.com and a few more sites' @@ -21,7 +21,7 @@ md5sums=('SKIP') pkgver() { cd youtube-dl - git describe | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' + git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } prepare() { |