use new repoman for upload target
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 6 Oct 2016 06:33:42 +0000 (08:33 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 6 Oct 2016 06:33:42 +0000 (08:33 +0200)
Makefile

index 712cd9b..4c629a5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-RELEASE=4.2
-
 VERSION=2.0
 PKGREL=30
 
@@ -51,10 +49,4 @@ distclean: clean
 
 .PHONY: upload
 upload: ${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} /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} | ssh repoman@repo.proxmox.com upload