New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed when promote snap using option: --yes #4312
Comments
snapcraft promote SNAP_NAME --from-channel edge --to-channel candidate --yes drop the 'latest/' track name also got same error |
Thanks for the report. Is the error confusing? what we are essentially saying is that you shouldn't be auto promoting from edge as it is a moving target |
@sergiusens Yeah a bit confusing to me, so this is a normal behavior by design? I want to automatically promote through cron tasks. Is there any way to do this currently? |
Not currently, but we can consider adding a flag like |
@sergiusens ok, thx |
This got closed, does it mean that |
Bug Description
I want to promote a snap without confirmation, so i use --yes option
To Reproduce
snapcraft promote SNAP_NAME --from-channel latest/edge --to-channel latest/candidate --yes
then i got
Error: 'latest/edge' is not a valid set value for --from-channel when using --yes.
Environment
Ubuntu 23.04
snapcraft 7.5.2
snapcraft.yaml
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: