]> git.proxmox.com Git - proxmox-ve.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 18:35:03 +0000 (20:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 18:35:45 +0000 (20:35 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 056df42203bba77f8625f68e7937cfa69d7902c4..c5337c893ba723ab58d2d38d8390e1ffc67e6888 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,8 +39,9 @@ sbuild: $(DSC)
        sbuild $(DSC)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS)|ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_BUILD_ARCH)
+       tar cf - $(DEBS)|ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH)
 
 .PHONY: distclean
 distclean: clean