Skip to content

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

@rianjs

Description

@rianjs

Snap packages published to the Snapcraft Store show versions like 0+git.9337614 instead of proper semver. Root cause: version: git in snapcraft.yaml relies on git describe --tags which fails inside the LXD build container used by snapcore/action-build. Fix: inject version from git tag into snapcraft.yaml before building. (Snap job is currently disabled but this fixes the version for when it's re-enabled.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions