Skip to content

fix: inject snap package version from git tag#81

Merged
rianjs merged 1 commit intomainfrom
fix/snap-versioning
Feb 7, 2026
Merged

fix: inject snap package version from git tag#81
rianjs merged 1 commit intomainfrom
fix/snap-versioning

Conversation

@rianjs
Copy link
Collaborator

@rianjs rianjs commented Feb 7, 2026

Summary

  • Snap packages show versions like 0+git.9337614 instead of proper semver in the Snapcraft Store
  • Root cause: version: git in snapcraft.yaml relies on git describe --tags which fails inside the LXD build container
  • Fix: inject version from git tag into snapcraft.yaml before snapcore/action-build runs

Fixes #80

Test plan

  • Verify CI passes
  • Next release will publish snap with proper semver version

@rianjs rianjs merged commit 08afdbe into main Feb 7, 2026
2 checks passed
@rianjs rianjs deleted the fix/snap-versioning branch February 7, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: snap package versions show as 0+git hash instead of semver

1 participant

Comments