]> git.proxmox.com Git - pve-storage.git/blobdiff - Makefile
d/control: record pve-cluster build dependency
[pve-storage.git] / Makefile
index c9db4187617af077ac5a95188866e16b4d1563de..7b9f539806cec31dfc85c49968c301a9040bd597 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION=5.0
 PACKAGE=libpve-storage-perl
-PKGREL=22
+PKGREL=30
 
 DESTDIR=
 PREFIX=/usr
@@ -16,7 +16,7 @@ export PERLDIR=${PREFIX}/share/perl5
 export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp)
 
 ARCH=all
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb