You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove restriction for promoting edge releases with --yes #5958
I've verified that this request isn't described by any existing issues.
Request
For the snapcraft promote command, drop the restriction that doesn't allow using --yes for edge releases.
Since this could break existing workflows that depend on this safety net, this should be part of Snapcraft 9.
The problem it solves
Users are artificially restricted from automatically promoting edge releases at the command line:
> snapcraft promote <snap-name> --from-channel edge --to-channel beta --yes
Error: 'edge' is not a valid set value for --from-channel when using --yes.
This is an unhelpful error and has forced users to create workarounds.
Removing this restriction is preferable to adding more flags (e.g. --allow-dangerous-promotion), which adds more complexity and is redundant with --yes.
Activity
syncronize-issues-to-jira commentedon Jan 16, 2026
Thank you for reporting your feedback to us!
The internal ticket has been created: https://warthogs.atlassian.net/browse/SNAPCRAFT-1270.
mr-cal commentedon Jun 15, 2026
This has been fixed in Snapcraft 9.0.
Anyone using workarounds in a Github workflow like this:
can use the
--yesflag instead: