summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorben2019-02-01 10:24:04 +0100
committerTorben2019-02-01 10:46:25 +0100
commit5b229caf0fb1800c3fd805ca487cf5ecb444d49c (patch)
treef7663ae34a54cbd9cdeb0e78f6a1b04624f24ead
parentec0e5e124a29bbcbdc290c9352402a76da3d2b34 (diff)
downloadaur-5b229caf0fb1800c3fd805ca487cf5ecb444d49c.tar.gz
Use HEAD instead of master to derive version from latest commit
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a267889dc12..ad45a828158 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/geary"
- printf "r%s.%s" "$(git rev-list --count master)" "$(git rev-parse --short master)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {