I can push and then release a devel snap. But I can't do the two on the same command.
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 edge
This works.
Now try:
$ snapcraft push *.snap --release edge
This fails with:
There has been a problem while analyzing the snap, check the snap and try to push again.
I can push and then release a devel snap. But I can't do the two on the same command.
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 edge
This works.
Now try:
$ snapcraft push *.snap --release edge
This fails with:
There has been a problem while analyzing the snap, check the snap and try to push again.