X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=543fb50463921f7ea18207a3d2136f6544a63deb;hb=3db2f0de7d7f314d16af8fff080de07d3447b169;hp=3bf0d121f4b8a9dbb40190572086d7d21ecf42bf;hpb=ed93bd68bf96fd1af54ff5ef3fa31b213b402fc0;p=pve-cluster.git diff --git a/Makefile b/Makefile index 3bf0d12..543fb50 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ PACKAGE=pve-cluster PKGVER=5.0 -PKGREL=18 +PKGREL=24 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${PKGVER}-${PKGREL}_${ARCH}.deb DBG_DEB=${PACKAGE}-dbgsym_${PKGVER}-${PKGREL}_${ARCH}.deb @@ -34,7 +34,7 @@ ${DEB}: .PHONY: upload upload: ${DEB} ${DBG_DEB} - tar cf - ${DEB} ${DBG_DEB}| ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH} + tar cf - ${DEB} ${DBG_DEB}| ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH} .PHONY: clean clean: