-RELEASE=4.2
-
PACKAGE=pve-cluster
PKGVER=4.0
-PKGREL=42
+PKGREL=47
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell cat .git/refs/heads/master)
.PHONY: upload
upload: ${DEB} ${DBG_DEB}
- umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
- mkdir -p /pve/${RELEASE}/extra
- rm -f /pve/${RELEASE}/extra/${PACKAGE}*.deb
- rm -f /pve/${RELEASE}/extra/Packages*
- cp ${DEB} ${DBG_DEB} /pve/${RELEASE}/extra
- cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
- umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+ tar cf - ${DEB} ${DBG_DEB}| ssh repoman@repo.proxmox.com upload
.PHONY: clean
clean: