]> git.proxmox.com Git - pve-storage.git/blobdiff - Makefile
refactor finding next diskname for all plugins
[pve-storage.git] / Makefile
index 9b11c39f75cbfe0b9b27d1f45b28b65df44e9d8b..876960ab97d545685aff116181d45fc98585f376 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION=5.0
 PACKAGE=libpve-storage-perl
-PKGREL=6
+PKGREL=26
 
 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