]> git.proxmox.com Git - libjs-qrcodejs.git/commitdiff
buildsys: derive upload dist automatically master
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 11:10:44 +0000 (13:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 11:10:44 +0000 (13:10 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 520678c93a189058aa5899a539a7ea9d041d9129..05a4c4f2e6d4aac30a159fa31bf0b229176da6ad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,9 +40,13 @@ $(DSC): $(BUILDDIR) $(ORIG_SRC_TAR)
 sbuild: $(DSC)
        sbuild $(DSC)
 
+# HACK, but this is a *very* seldom bumped package and normally 1:1 the same in all our dists
+-include /etc/os-release
+
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(VERSION_CODENAME)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist buster
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
 
 distclean: clean
 clean: