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 actively maintained, although pull requests will be reviewed.
$ go install github.com/edgeworx/packagecloud
The PACKAGECLOUD_TOKEN
envar must be set.
To upload a package:
$ packagecloud push --overwrite user/repo/distro/version ./mypkg_1.2.3_arm64.deb
When the
--overwrite
flag is present, the CLI will yank (delete) the package file if the API reports that it already exists.
To yank (remove) a package:
$ packagecloud yank user/repo/distro/version ./mypkg_1.2.3_arm64.deb