]> git.proxmox.com Git - pve-cluster.git/blobdiff - Makefile
restart pve-cluster.service on failure
[pve-cluster.git] / Makefile
index 68260c7360733d94952e7a3b3aef6a9683bd6bc3..c6382e5944c674a99a08809cd8502cccdc0341ef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
 PACKAGE=pve-cluster
 PKGVER=5.0
-PKGREL=20
+PKGREL=34
 
 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: