snapcraft version number output inconsistent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
"snapcraft push" shows trailing zeores on version numbers, but "snapcraft release" and "snapcraft status" truncate the trailing zero. "snapcraft push" is correct, the others are wrong.
Running snapcraft 2.35 via apt.
I have a snap (get-iplayer) which is version "3.10" in the snapcraft yaml. I have pushed it to the store and released to all channels.
Snapcraft push says this:-
# snapcraft push get-iplayer_
Pushing get-iplayer_
After pushing, an attempt to release to ['candidate', 'beta', 'edge'] will be made
Preparing to push '/root/
Pushing get-iplayer_
Processing...|
Ready to release!
Revision 9 of 'get-iplayer' created.
Track Arch Channel Version Revision
latest armhf stable - -
I then released:-
# snapcraft release get-iplayer 9 stable
Track Arch Channel Version Revision
latest armhf stable 3.1 9
The 'stable' channel is now open.
When I later checked the versions in channels (after releasing to stable), I see this:-
# snapcraft status get-iplayer
Track Arch Channel Version Revision
latest amd64 stable 3.1 7
armhf stable 3.1 9
i386 stable 3.1 8