charmcraft upload
should allow a user to also release the charm
#1979
Labels
Enhancement
New feature or request
What needs to get done
Currently, to release a charm you have to:
We should have a way to release a charm right after uploading it; the resource can be uploaded automatically according to the
upstream-image
field incharmcraft.yaml
.The approached discussed with @lengau would be to add
--release=latest/edge
flag to theupload
command. Another option could be to introduce a new command that does both the update and release together.An example would be something like:
Why it needs to get done
In CI, releasing a charm currently translates to those three commands with weird parsing of the revision numbers, and the manual process is extremely error-prone.
The text was updated successfully, but these errors were encountered: