]> git.proxmox.com Git - pve-firewall.git/blobdiff - Makefile
fix ambiguous if statements
[pve-firewall.git] / Makefile
index d2cff769f915452d5f4a6380e693bc6effcea482..a8ff4032147095b8230e934ed67ee7922ca02ac2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
-RELEASE=4.1
-
 VERSION=2.0
-PKGREL=23
+PKGREL=33
 
 PACKAGE=pve-firewall
 
@@ -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