From e36407c29e12abebb42473a528dd5adb781e5bc2 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 29 May 2023 18:23:40 +0200 Subject: [PATCH] buildsys: derive upload dist automatically and avoid bogus check Signed-off-by: Thomas Lamprecht --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ae0bde58..fd93ec86 100644 --- a/Makefile +++ b/Makefile @@ -55,10 +55,9 @@ sbuild: $(DSC) sbuild $< .PHONY: upload -upload: $(DEB) check - # check if working directory is clean - git diff --exit-code --stat && git diff --exit-code --stat --staged - tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) +upload: $(DEB) + tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST) .PHONY: install install: vzdump-hook-script.pl -- 2.39.5