buildsys: derive upload dist automatically and avoid bogus check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-29 18:23:40 +02:00
parent ff7fd641ac
commit e36407c29e

View File

@ -55,10 +55,9 @@ sbuild: $(DSC)
sbuild $< sbuild $<
.PHONY: upload .PHONY: upload
upload: $(DEB) check upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
# check if working directory is clean upload: $(DEB)
git diff --exit-code --stat && git diff --exit-code --stat --staged tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye
.PHONY: install .PHONY: install
install: vzdump-hook-script.pl install: vzdump-hook-script.pl