Makefile: add upload target

This commit is contained in:
Dietmar Maurer 2019-12-13 10:35:43 +01:00
parent f374ba4c0b
commit 729e38f475
1 changed files with 6 additions and 0 deletions

View File

@ -113,3 +113,9 @@ install: $(COMPILED_BINS)
install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;)
$(MAKE) -C www install
$(MAKE) -C docs install
.PHONY: upload
upload: ${DEBS}
# check if working directory is clean
git diff --exit-code --stat && git diff --exit-code --stat --staged
tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pbs --dist buster