packagecloud

command
v1.0.42868-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL