]> git.proxmox.com Git - proxmox-acme.git/commitdiff
buildsys: automatically dervice upload dist
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 7 May 2023 11:16:02 +0000 (13:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 7 May 2023 11:18:27 +0000 (13:18 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 8d3a6cb0fa7f04c1cf96cc9278913658d2669fe6..5795440a744f28465b387602eed674fe159b9b28 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ clean:
        rm -rf $(SRC)-*/ $(BUILDDIR).tmp *.deb *.buildinfo *.changes *.dsc *.tar.?z
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye
-       tar cf - $(DEB_ACME_PLUGS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist bullseye
+       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist $(UPLOAD_DIST)
+       tar cf - $(DEB_ACME_PLUGS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist $(UPLOAD_DIST)