Skip to content

Commit

Permalink
Use pkgcloud-push with updated os/release, use any
Browse files Browse the repository at this point in the history
  • Loading branch information
Felixoid committed Dec 19, 2024
1 parent ed27783 commit bd4ea8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd4ea8e

Please sign in to comment.