Can't release snap because it says it's devmode, but it's not

I can’t release the revision because it says it’s dev mode:

Here is the message:
But even the dashboard says it’s classic:

Installed using sudo snap install powershell-preview --classic --beta and verified snap info --verbose powershell-preview:

While the confinement is indeed classic, not devmode, the grade attribute is set to devel which I believe is what’s actually blocking your release.

The message from the storefront about the snap being devmode does seem to be inaccurate.

Please update your snapcraft.yaml and remove the grade or set it to stable, then you will be able to publish to candidate or stable.

1 Like

It was set to stable in this build:

I found the problem later in the yaml