buildsys: derive upload dist automatically

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-05-19 09:24:46 +02:00 committed by Thomas Lamprecht
parent da8fc2f2ad
commit 0024b65fbf

View File

@ -104,8 +104,9 @@ test:
$(MAKE) -C test
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: ${DEB}
tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye
tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)
.PHONY: clean
clean: