From fc38788fdea81c4caae8db1245a7a53cddc52404 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 10 Nov 2021 11:58:03 +0100 Subject: [PATCH] buildsys: add upload target Signed-off-by: Wolfgang Bumiller --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index a01a718d..f8dd85a4 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,13 @@ pve-deb: build # cd ./build/pmg-rs && dpkg-buildpackage -b -uc -us # touch $@ +%-upload: %-deb + cd build; \ + dcmd --deb lib$*-rs-perl*.changes \ + | grep -v '.changes$$' \ + | tar -cf "$@.tar" -T-; \ + cat "$@.tar" | ssh -X repoman@repo.proxmox.com upload --product $* --dist bullseye + .PHONY: clean clean: cargo clean