buildsys: add upload target

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-11-10 11:58:03 +01:00
parent f77e2f1a7d
commit fc38788fde

View File

@ -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