]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
bump version to 2.0-2
[pve-container.git] / Makefile
index af3349e64813aa7a96daed12f3d7913dd5eab905..8cfd7a893f2317011594faebaf174dc9e98d5352 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-RELEASE=4.0
-
-VERSION=1.0
+VERSION=2.0
 PACKAGE=pve-container
-PKGREL=13
+PKGREL=2
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
@@ -16,8 +14,9 @@ all: ${DEB}
 dinstall: ${DEB}
        dpkg -i ${DEB}
 
-.PHONY: deb ${DEB}
-deb ${DEB}:
+.PHONY: deb
+deb: ${DEB}
+${DEB}:
        rm -rf build
        mkdir build
        rsync -a src/ build
@@ -37,11 +36,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 --product pve --dist stretch