summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStig Otnes Kolstad2020-01-28 19:43:18 +0100
committerStig Otnes Kolstad2020-01-28 19:48:50 +0100
commitd963ac85b9120027af52c52e2e32e370833a2904 (patch)
tree6ded9a602115d35e0644650226785df9354d41c8 /PKGBUILD
parentcc2c97defb89e1d95bc8788cedb2b94c90f7acb5 (diff)
downloadaur-d963ac85b9120027af52c52e2e32e370833a2904.tar.gz
Append commit hash to version tag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 47355b90969..da7bfd19aab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ build() {
pkgver() {
cd ${srcdir}/${pkgrelname} || exit 1
- git rev-list --count HEAD
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {