]> git.proxmox.com Git - pve-docs.git/commitdiff
buildsys: use git rev-parse for GITVERSION
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 20 Feb 2018 10:10:25 +0000 (11:10 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 22 Feb 2018 15:31:08 +0000 (16:31 +0100)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Makefile

index dc776ac6d019650abfbcf38abd482b795a09505b..8b88b4ae6321296065d981b7f3318f33c063a640 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ MEDIAWIKI_PACKAGE=pve-docs-mediawiki
 # also update debian/changelog
 PKGREL=16
 
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)