buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-21 11:19:16 +02:00
parent 6a003c5a14
commit e0b959c968

View File

@ -34,8 +34,9 @@ $(DSC): $(BUILDDIR)
lintian $(DSC) lintian $(DSC)
.PHONY: upload .PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB) upload: $(DEB)
tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
.PHONY: clean .PHONY: clean
clean: clean: