5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2025-01-18 10:03:52 +03:00

buildsys: write actual checked out git revision to SOURCE

This commit is contained in:
Thomas Lamprecht 2018-01-23 08:19:55 +01:00 committed by Wolfgang Bumiller
parent 19227a3ac7
commit 5f6ca76d48

View File

@ -5,7 +5,8 @@ PKGREL=4
SRCDIR=novnc SRCDIR=novnc
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell cat .git/refs/heads/master)
GITVERSION:=$(shell git rev-parse HEAD)
DEB=${PACKAGE}_${VER}-${PKGREL}_${ARCH}.deb DEB=${PACKAGE}_${VER}-${PKGREL}_${ARCH}.deb