Path: blob/main/dev-docs/cloudsmith-publishing.md
6442 views
Cloudsmith Package Publishing
Publishes Linux packages (DEBs and RPMs) to Cloudsmith's posit/open repository.
Workflow: .github/workflows/publish-cloudsmith.yml
Automatic Publishing
Called automatically by create-release.yml for stable releases (non-prereleases).
Manual Publishing
Use for:
Republishing older releases
Fixing package issues
Testing with dry-run
Steps
Click "Run workflow"
Configure:
version:
v1.8.26(release tag)dry-run: Check for testing, uncheck for production
Run workflow
Dry-Run First
Always test with dry-run before production:
Dry-run downloads packages and validates parameters without pushing to Cloudsmith.
Required Assets
Workflow expects these in the GitHub release:
Verify with:
Architecture
Validation: Checks assets exist via GitHub API
Matrix: 4 parallel jobs (deb/rpm × x86_64/aarch64)
Publishing: Uses
cloudsmith pushwith--republishflagRepository:
posit/open/any-distro/any-version(distribution-agnostic)
Troubleshooting
Assets missing: Run Build Installers workflow to rebuild packages
Authentication failed: Check CLOUDSMITH_API_KEY secret in repository settings