Documentation
¶
Overview ¶
Command packagecloud talks to the packagecloud.io REST API: it publishes Linux nfpm packages (.rpm/.deb) and lists, shows, and creates repositories.
goreleaser only pushes to packagecloud under a Pro licence, so this small release-time tool does it against the public REST API instead. Each package is published to packagecloud's generic distribution for its format ("rpm_any" for rpm, "any" for deb) so a single upload serves every distro version.
Usage:
PACKAGECLOUD_TOKEN=... go run ./cmd/packagecloud pkg push --repo circleci/circleci dist/*.rpm dist/*.deb PACKAGECLOUD_TOKEN=... go run ./cmd/packagecloud repo list PACKAGECLOUD_TOKEN=... go run ./cmd/packagecloud repo get circleci/runner PACKAGECLOUD_TOKEN=... go run ./cmd/packagecloud repo create circleci/circleci
Click to show internal directories.
Click to hide internal directories.