diff options
author | Mathieu Jobin | 2017-06-06 10:14:46 -0400 |
---|---|---|
committer | Mathieu Jobin | 2017-06-06 11:32:58 -0400 |
commit | f3c253b4402890925503dd95efd9c3643e41344c (patch) | |
tree | 19290a5bfa7c8e6f443995c749dd032b927584fb | |
parent | a1c41c28e3f5d6cd04c6f48485a464c9497d27ef (diff) | |
download | aur-f3c253b4402890925503dd95efd9c3643e41344c.tar.gz |
g is for git
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ pkgver() { sha=`echo "$gitinfo" | head -n 1 | cut -c -7` tag=`echo "$gitinfo" | tail -n 1 | awk -F "/" {'print $3'}` commits=`curl -s ${srcgiturl}/releases/tag/${tag} | grep -o "[0-9]* commits" | awk {'print $1'}` - printf "%s.r%s.%s" $tag $commits $sha + printf "%s.r%s.g%s" $tag $commits $sha } prepare() { |