snapcraft version number output inconsistent
Metadata
Current evaluation
Snapcraft 2.35 displays 3.10 for push but 3.1 for release and status; the detailed report remains open with no maintainer response.
Suggested action: needs triage
Reason: The report provides a concrete snap, version, commands, and side-by-side output showing the discrepancy, making the bug credible and reproducible. However, there are no labels, comments, or maintainer response, and the Store API response is not provided, so it remains unclear whether Snapcraft or the Store is truncating the version.
Evaluated by: mr-cal-bot
Impact:
35
Quick Win:
16
Complexity:
40
Confidence:
68
Actionability:
78
Issue body
"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_3.10_armhf.snap --release candidate,beta,edge
Pushing get-iplayer_3.10_armhf.snap
After pushing, an attempt to release to ['candidate', 'beta', 'edge'] will be made
Preparing to push '/root/get-iplayer_3.10_armhf.snap' to the store.
Pushing get-iplayer_3.10_armhf.snap [==============================================================================] 100%
Processing...|
Ready to release!
Revision 9 of 'get-iplayer' created.
Track Arch Channel Version Revision
latest armhf stable - -
candidate 3.10 9
beta 3.10 9
edge 3.10 9
I then released:-
# snapcraft release get-iplayer 9 stable
Track Arch Channel Version Revision
latest armhf stable 3.1 9
candidate 3.1 9
beta 3.1 9
edge 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
candidate 3.1 7
beta 3.1 7
edge 3.1 7
armhf stable 3.1 9
candidate 3.1 9
beta 3.1 9
edge 3.1 9
i386 stable 3.1 8
candidate 3.1 8
beta 3.1 8
edge 3.1 8
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
35
Quick Win:
16
Complexity:
40
Confidence:
68
Actionability:
78
|
needs triage | Snapcraft 2.35 displays 3.10 for push but 3.1 for release and status; the detailed report remains open with no maintainer response. | |
| stealth/space-bunny-alpha |
Impact:
30
Quick Win:
9
Complexity:
58
Confidence:
86
Actionability:
72
|
needs triage | Snapcraft 2.35 displays stored version 3.10 as 3.1 in release/status output while push shows 3.10; the old report remains open and untriaged. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
11
Complexity:
40
Confidence:
70
Actionability:
60
|
close stale | Trailing zeros in version numbers (e.g., 3.10) are incorrectly truncated to 3.1 in snapcraft release and status output. Issue is 8+ years old and references deprecated commands. | |
| qwen/qwen3.8-27b |
Impact:
20
Quick Win:
14
Staleness:
95
Complexity:
30
Confidence:
55
Support Request:
5
|
needs triage | snapcraft 2.35 CLI displays version 3.10 as 3.1 in release/status output while push shows 3.10; unlabelled, no maintainer response, inactive 3155 days (snapcraft 2.35 era, now superseded by 8.x). | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
90
Support Request:
10
|
close stale | Inconsistent version number formatting in snapcraft CLI output between push, release, and status commands. Currently unlabelled and inactive for over 8 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
10
Confidence:
85
Support Request:
5
|
close stale | Inconsistent trailing zero display across snapcraft CLI commands (push, release, status). Issue is over 8 years old, unlabelled, and has zero maintainer engagement. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
100
Complexity:
15
Confidence:
90
Support Request:
10
|
close stale | Inconsistent version number formatting in snapcraft CLI commands (push vs release/status) showing trailing zeros. Unlabelled, no comments, and references deprecated snapcraft 2.35. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5086 snapcraft status lists several time the same information | snapcraft | open | Untriaged report: snapcraft status can repeat channel rows for one track and architecture, demonstrated with Snapcraft 8.4.1 on Ubuntu Oracular; no labels or maintainer activity. | |
| #1621713 snapcraft release doesn't match the spec | snapcraft (launchpad) | closed | Snapcraft now correctly handles revision arguments and channel updates; the maintainer confirmed the outdated release behavior is resolved. | |
| #1549221 snapcraft.yaml should have a version field | snapcraft (launchpad) | closed | Rejected as unnecessary: maintainers said Snapcraft 2.x rolled with Ubuntu releases 16.04, 17.04 and 18.04, so no format/version field was added to resolve the issue. |