snapcraft promote shows wrong version number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapcraft (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have uploaded version 4.10 of the sispmctl snap to the beta channel:
$ snap info sispmctl
...
snap-id: vldmxZW5Qjy6JEk
tracking: latest/beta
refresh-date: today at 11:26 CEST
channels:
latest/stable: 4.9 2022-04-13 (3) 118kB -
latest/candidate: ↑
latest/beta: 4.10 2023-06-24 (9) 102kB -
latest/edge: 4.9 2022-04-05 (3) 118kB -
installed: 4.10 (9) 102kB -
When trying to promote to the edge channel the version number is displayed as 4.1.
$ snapcraft promote --from-channel beta --to-channel edge sispmctl
snapcraft promote does not have a stable CLI interface. Use with caution in scripts.
Build set information for 'beta'
Arch Revision Version
amd64 9 4.1
arm64 8 4.1
armhf 7 4.1
riscv64 10 4.1
Do you want to promote the current set to the 'edge' channel? [y/N]:
Please, do not truncate version numbers.
$ snap info snapcraft
installed: 7.4.3 (9362) 60MB classic