]> git.proxmox.com Git - proxmox-offline-mirror.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 May 2023 11:56:15 +0000 (13:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 May 2023 11:56:15 +0000 (13:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 12bf8ec68946b311af68c4599ec9c6dd8b7a1659..68923b7d9976f889f5b799c1a24c3704ec68d5a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -91,8 +91,9 @@ dinstall: $(DEB)
        dpkg -i $(DEB) $(DBG_DEB) $(DOC_DEB)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs,pbs-client --dist bullseye --arch $(DEB_HOST_ARCH)
+       tar cf - $(DEBS) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs,pbs-client --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)
 
 .PHONY: distclean
 distclean: clean