release¶
Release <snap-name> at <revision> to the selected store <channels>. <channels> is a comma-separated list of valid channels in the store.
The <revision> must exist in the store; to see available revisions,
run snapcraft list-revisions <name>.
The channel map will be displayed after the operation takes place. To see
the status map at any other time run snapcraft status <name>.
The format for a channel is [<track>/]<risk>[/<branch>] where
<track> is used to have long-term release channels. It is implicitly set to
latest. If this snap requires one, it can be created by request by having a conversation on https://forum.snapcraft.io under the store category.<risk> is mandatory and must be one of
stable,candidate,betaoredge.<branch> is optional and dynamically creates a channel with a specific expiration date.
Examples:
snapcraft release my-snap 8 stable
snapcraft release my-snap 8 stable/my-branch
snapcraft release my-snap 9 beta,edge
snapcraft release my-snap 9 lts-channel/stable
snapcraft release my-snap 9 lts-channel/stable/my-branch
Usage¶
snapcraft release [options] <name> <revision> <channels>
Required¶
nameThe snap name to release.
revisionThe revision to release.
channelsThe comma-separated list of channels to release to.
Options¶
--progressiveSet a release progression to a certain percentage [0<=x<=100].
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.