It is possible to release a devel snap to candidate and stable
Bug #1619819 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Invalid
|
Undecided
|
Unassigned | ||
Software Center Agent |
Fix Released
|
High
|
Unassigned |
Bug Description
With snapcraft, I can release a snap with devel grade to the candidate and stable channel.
This is not possible from the website because only edge and beta appear as options.
To reproduce, write the following yaml to a file.
(replace the name to a snap registered on your account)
name: $name
version: 0.1
summary: Summary of the most simple snap
description: Description of the most simple snap
architectures: [all]
confinement: strict
grade: devel
parts:
dummy-part:
plugin: nil
$ snapcraft login
$ snapcraft
$ snapcraft push *.snap
This works and returns the $revision of the snap.
$ snapcraft release $name $revision stable
This works, but should fail.
Changed in software-center-agent: | |
status: | New → Fix Committed |
assignee: | nobody → Michael Nelson (michael.nelson) |
Changed in software-center-agent: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the fix! I tested it today, and now snapcraft prints:
Revision 11 (strict) cannot target a stable channel (stable, grade: devel)