Skip to content

Commit 4dd415b

Browse files
committed
Use pkgcloud-push with updated os/release, use any
1 parent 19f269f commit 4dd415b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Makefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,12 @@ $(SUM_FILES): nfpm
113113

114114

115115
.ONESHELL:
116-
packagecloud-push-rpm: SHELL:=/bin/bash
117-
packagecloud-push-rpm: REPOS=$(shell echo el/{7..9})
118116
packagecloud-push-rpm: $(wildcard out/$(NAME)-$(VERSION)*.rpm)
119-
for repo in $(REPOS); do
120-
pkgcloud-push $(REPO)/$${repo} $^ || true
121-
done
117+
pkgcloud-push $(REPO)/rpm_any/rpm_any $^ || true
122118

123119
.ONESHELL:
124-
packagecloud-push-deb: SHELL:=/bin/bash
125-
packagecloud-push-deb: REPOS=$(shell echo ubuntu/{bionic,focal,jammy,nomble} debian/{buster,bullseye,bookworm})
126120
packagecloud-push-deb: $(wildcard out/$(NAME)_$(VERSION)*.deb)
127-
for repo in $(REPOS); do
128-
pkgcloud-push $(REPO)/$${repo} $^ || true
129-
done
121+
pkgcloud-push $(REPO)/any/any $^ || true
130122

131123
packagecloud-push: nfpm
132124
@$(MAKE) packagecloud-push-rpm

0 commit comments

Comments
 (0)