]> git.proxmox.com Git - pve-storage.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 15:21:02 +0000 (17:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 15:21:02 +0000 (17:21 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 4415137ff7c0bb755222258e0ba62fae407004c2..758463c0ac9a0556eb435e52def7542231d7f0af 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,9 @@ clean:
        rm -rf $(PACKAGE)-[0-9]*/ *.deb *.dsc *.build *.buildinfo *.changes $(PACKAGE)*.tar.*
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 dsc: $(DSC)
        $(MAKE) clean