snapcraft release gives misleading error when revision does not exist
Bug #1664704 reported by
Mark Shuttleworth
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.
To post a comment you must log in.
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.