]> git.proxmox.com Git - pve-manager.git/commitdiff
revert expanding repoid to 16 chars
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 31 May 2023 07:10:41 +0000 (09:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 31 May 2023 07:10:45 +0000 (09:10 +0200)
This partially reverts commit 0e77456f ("expand repoid to 16 chars
and avoid querying git for it twice") to use 8 characters to avoid
any change for this format in the (soon old) stable release

Keep the rest of the changes though, they do make sense.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index fd93ec8678f8419978de47837b361b006986e5f9..09e8b5d5c47d230c3c751a955d8cacaf06d48165 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ DESTDIR=
 
 SUBDIRS = aplinfo PVE bin www services configs network-hooks test
 
-GITVERSION:=$(shell git rev-parse --short=16 HEAD)
+GITVERSION:=$(shell git rev-parse --short=8 HEAD)
 
 
 BUILDDIR = $(PACKAGE)-$(DEB_VERSION_UPSTREAM)