]> git.proxmox.com Git - pve-container.git/commitdiff
buildsys: derive upload dist automatically
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 25 May 2023 07:44:48 +0000 (09:44 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 25 May 2023 07:45:04 +0000 (09:45 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Makefile

index cc37dc7f849a1a1392050066ddf473da3a8a4178..00eadff4badaa2303ba481bbeb93c0d6d7fac6e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,5 +46,6 @@ clean:
 distclean: clean
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)