From bd4ea8e3b6efeedd9303567895d8a7ab94b450fa Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Fri, 20 Dec 2024 00:31:00 +0100 Subject: [PATCH] Use pkgcloud-push with updated os/release, use any --- .github/workflows/docker.yml | 2 +- Makefile | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d64f07e..baa1939 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -94,5 +94,5 @@ jobs: run: | git fetch origin fix-releaser git checkout origin/fix-releaser -- Makefile - go install github.com/mlafeldt/pkgcloud/cmd/pkgcloud-push@e79e9efc + go install github.com/mlafeldt/pkgcloud/cmd/pkgcloud-push@afd7b4b2e6a1 make packagecloud-stable diff --git a/Makefile b/Makefile index 7690732..d16c1f0 100644 --- a/Makefile +++ b/Makefile @@ -113,20 +113,12 @@ $(SUM_FILES): nfpm .ONESHELL: -packagecloud-push-rpm: SHELL:=/bin/bash -packagecloud-push-rpm: REPOS=$(shell echo el/{7..9}) packagecloud-push-rpm: $(wildcard out/$(NAME)-$(VERSION)*.rpm) - for repo in $(REPOS); do - pkgcloud-push $(REPO)/$${repo} $^ || true - done + pkgcloud-push $(REPO)/rpm_any/rpm_any $^ || true .ONESHELL: -packagecloud-push-deb: SHELL:=/bin/bash -packagecloud-push-deb: REPOS=$(shell echo ubuntu/{bionic,focal,jammy,nomble} debian/{buster,bullseye,bookworm}) packagecloud-push-deb: $(wildcard out/$(NAME)_$(VERSION)*.deb) - for repo in $(REPOS); do - pkgcloud-push $(REPO)/$${repo} $^ || true - done + pkgcloud-push $(REPO)/any/any $^ || true packagecloud-push: nfpm @$(MAKE) packagecloud-push-rpm