]> git.proxmox.com Git - pve-cluster.git/blobdiff - Makefile
refactor run_silent_cmd
[pve-cluster.git] / Makefile
index 364b9681a86fc08fd21e7b09d67b580888524b56..f452eb5a9f5dd060dc160915be78e65f953c82a9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
 PACKAGE=pve-cluster
 PKGVER=5.0
-PKGREL=15
+PKGREL=31
 
 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: