Help us shape the future of Go! Take the 2026 Go Developer Survey

packagecloud

command
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 17 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/ci/packagecloud pkg push --repo circleci/circleci dist/*.rpm dist/*.deb
PACKAGECLOUD_TOKEN=... go run ./cmd/ci/packagecloud repo list
PACKAGECLOUD_TOKEN=... go run ./cmd/ci/packagecloud repo get circleci/runner
PACKAGECLOUD_TOKEN=... go run ./cmd/ci/packagecloud repo create circleci/circleci

Jump to

Keyboard shortcuts

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