promote¶
A build set is a set of commonly-tagged revisions; the simplest form of a build set is a set of revisions released to a channel.
Currently, only channels are supported to release from (<from-channel>)
Prior to releasing, visual confirmation shall be required.
The format for channels is [<track>/]<risk>[/<branch>] where
<track> is used to support long-term release channels. It is implicitly set to the default.
<risk> is mandatory and must be one of
stable,candidate,betaoredge.<branch> is optional and dynamically creates a channel with a specific expiration date. Branches are specifically designed to support short-term hot fixes.
Usage¶
snapcraft promote [options] <snap-name>
Required¶
snap-name
Options¶
--from-channelThe channel to promote from.
--to-channelThe channel to promote to.
--yesDo not prompt for confirmation.
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.