publish-lib¶
Publish charm libraries.
Upload and release in Charmhub the new api/patch version of the indicated library, or all the charm libraries if <library> is not provided.
It will automatically take you through the login process if your credentials are missing or too old.
Note that in order to be able to publish a charm library, you need to be signed into Charmcraft as a user that has permissions to publish libraries to this charm. In particular you need to be the owner of this charm or registered as a contributor to the charm (a status that can be requested via Discourse).
Usage¶
charmcraft publish-lib [options]
Options¶
- --format
- Produce the result in the specified format (currently only ‘json’). 
Global options¶
- -hor- --help
- Show this help message and exit. 
- -qor- --quiet
- Only show warnings and errors, not progress. 
- -vor- --verbose
- Show debug information and be more verbose. 
- --verbosity
- Set the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’. 
- -Vor- --version
- Show the application version and exit. 
