buildsys: derive upload dist automatically and avoid bogus check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ff7fd641ac
commit
e36407c29e
7
Makefile
7
Makefile
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user