cloudsmith

command
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command cloudsmith publishes Linux packages (.deb and .rpm) to a Cloudsmith repository via the public REST API.

Like cmd/ci/packagecloud, this is a small release-time tool: goreleaser can't push to Cloudsmith without a Pro licence, so we drive the API directly instead.

Uploading a package is a two-step flow:

  1. PUT the file to upload.cloudsmith.io with a Content-Sha256 header. The response returns an identifier for the stored blob.
  2. POST that identifier to api.cloudsmith.io/v1/packages/.../upload/<format>/ along with the target distribution.

Every package is published to the generic "any-distro/any-version" distribution, so a single upload serves every distro and version.

Usage:

CLOUDSMITH_API_KEY=... go run ./cmd/ci/cloudsmith push deb --repo circleci-deps/public dist/*.deb
CLOUDSMITH_API_KEY=... go run ./cmd/ci/cloudsmith push rpm --repo circleci-deps/public dist/*.rpm

Jump to

Keyboard shortcuts

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