]> git.proxmox.com Git - pve-esxi-import-tools.git/commitdiff
add upload target
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 5 Mar 2024 14:08:11 +0000 (15:08 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 5 Mar 2024 14:08:11 +0000 (15:08 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Makefile

index 23bc1a1c301c5f8d3a38a7084bec4704be1c3b99..9ddefc100b8e0e3914e4ae76a888aebe09d22f0b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,3 +77,12 @@ build/$(DSC): build
 clean:
        rm -rf build
        $(CARGO) clean
+
+.PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
+upload: build/$(DEB)
+       cd build; \
+           dcmd --deb rust-pve-esxi-import-tools_*.changes \
+           | grep -v '.changes$$' \
+           | tar -cf- -T- \
+           | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)