snapcraft release gives misleading error when revision does not exist

Bug #1664704 reported by Mark Shuttleworth
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Confirmed
Undecided
Unassigned

Bug Description

If you try to release a revision which does not exist, you see:

Sorry, try `snapcraft register etcd` before trying to release or choose an existing revision.

The misleading part is that the snap is already registered, it's purely a 'non-existent revision' problem.

Tags: store ui
Revision history for this message
Leo Arias (elopio) wrote :

Confirmed.

elopio@briseis:~$ snapcraft status vault-elopio
Arch Channel Version Revision
amd64 stable v0.6.2 10
        candidate v0.6.5 108
        beta ^ ^
        edge master 115
elopio@briseis:~$ snapcraft release vault-elopio 120 edge
Sorry, try `snapcraft register vault-elopio` before trying to release or choose an existing revision.

tags: added: store
Changed in snapcraft:
status: New → Confirmed
tags: added: ui
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.