]> git.proxmox.com Git - pve-apiclient.git/blobdiff - Makefile
buildsys: change upload dist to buster
[pve-apiclient.git] / Makefile
index 8269eae1c05caecbfa8825ac2065eef16c4ea8dc..c809b01d542cc5db6bd58994aacb012f8e7812c2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=libpve-apiclient-perl
-PKGVER=2.0
-PKGREL=4
+PKGVER=$(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
+PKGREL=$(shell dpkg-parsechangelog -Sversion | cut -d- -f2)
 
 BUILDSRC := $(PACKAGE)-$(PKGVER)
 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
@@ -49,7 +49,7 @@ update-pve-common:
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist stretch
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist buster
 
 distclean: clean