upload¶
Upload a charm or bundle to Charmhub.
Push a charm or bundle to Charmhub where it will be verified. This command will finish successfully once the package is approved by Charmhub.
In the event of a failure in the verification process, charmcraft will report details of the failure, otherwise it will give you the new charm or bundle revision.
Upload will take you through login if needed.
Usage¶
charmcraft upload [options] <None>
Required¶
NoneThe charm or bundle to upload.
Options¶
--formatProduce the result in the specified format (currently only ‘json’).
--nameName of the charm or bundle on Charmhub to upload to.
--releaseThe channel(s) to release to (this option can be indicated multiple times).
--resourceThe resource(s) to attach to the release, in the <name>:<revision> format (this option can be indicated multiple times).
Global options¶
-hor--helpShow this help message and exit.
-qor--quietOnly show warnings and errors, not progress.
-vor--verboseShow debug information and be more verbose.
--verbositySet the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-Vor--versionShow the application version and exit.