]> git.proxmox.com Git - pve-apiclient.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 14:23:18 +0000 (16:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 14:23:18 +0000 (16:23 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index c4c57f841cdcf7052a653015cfaf93013812f293..33e70c71282a935fe8488b8c3702499962bee269 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,9 @@ sbuild: $(DSC)
        sbuild $(DSC)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist $(UPLOAD_DIST)
 
 distclean: clean
 clean: