[pve-devel] [PATCH qemu 2/2] build: use HEAD for GITVERSION

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Oct 18 12:46:00 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a49fc2d..b2fae14 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ BUILDSRC = $(KVMSRC).tmp
 SRCDIR := qemu
 
 ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-GITVERSION := $(shell git rev-parse master)
+GITVERSION := $(shell git rev-parse HEAD)
 
 DEB = ${KVMPACKAGE}_${KVMVER}-${KVMPKGREL}_${ARCH}.deb
 DEB_DBG = ${KVMPACKAGE}-dbg_${KVMVER}-${KVMPKGREL}_${ARCH}.deb
-- 
2.14.2





More information about the pve-devel mailing list