]> git.proxmox.com Git - pve-edk2-firmware.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 08:12:25 +0000 (10:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 08:12:25 +0000 (10:12 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index ab10557faafb3010657eeaa7d0292bae6715f574..5ca58212243883bb89c4800184adaac2e4415bc7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,8 +53,9 @@ update_modules: submodule
        git submodule foreach 'git pull --ff-only origin master'
 
 .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)
 
 .PHONY: distclean clean
 distclean: clean