5
0
mirror of git://git.proxmox.com/git/proxmox-backup-restore-image.git synced 2025-01-02 05:17:39 +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-30 10:06:25 +02:00
parent 96aa35260a
commit 92977ccdf5

View File

@ -56,8 +56,9 @@ dinstall: deb
dpkg -i $(DEB) $(DEB_DBG)
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB)
tar cf - $(DEB) $(DEB_DBG) | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye
tar cf - $(DEB) $(DEB_DBG) | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)
.PHONY: clean
clean: