Comment 0 for bug 1619818

Revision history for this message
Leo Arias (elopio) wrote : Error when trying to push and release a snap with devel grade

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.