5
0
mirror of git://git.proxmox.com/git/pve-cluster.git synced 2025-03-11 16:58:28 +03:00

buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-19 18:30:39 +02:00
parent b3b916da28
commit 7be769af36

View File

@ -41,8 +41,9 @@ dinstall: $(DEB) $(LIB_DEB)
dpkg -i $^
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEBS)
tar cf - $(DEBS) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_BUILD_ARCH)
tar cf - $(DEBS) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH)
.PHONY: clean
clean: