packagecloud
packagecloud is a Go CLI for the packagecloud API.
It is a trivial fork of mlafeldt/pkgcloud,
adding functionality to retry a package push if it already exists.
This fork was created to solve a particular problem, and is not expected to be supported further.
Installation
$ go install github.com/neilotoole/packagecloud
Usage
The PACKAGECLOUD_TOKEN envar must be set.
To upload a package:
$ packagecloud push --overwrite user/repo/distro/version ./mypkg_1.2.3_amd64.deb
When the --overwrite flag is present, the CLI will yank (delete) the package file
if the API reports that it already exists.