Skip to content

Version not generated correctly #25

@xiota

Description

@xiota

Describe the bug

Version string isn't generated correctly. 86ae0fe is affected.

$ xmap -V
xmap Development Build. Commit UNKNOWN

To Reproduce

  1. clone repo
  2. configure and build with cmake
  3. install and run xmap -V

Expected behavior

Commit hash should not be "UNKNOWN".

Desktop

  • OS: Arch Linux
  • Version: "UNKNOWN"

Additional context

Problem may be in src/CMakeVersion.txt

aur/xmap-git has been adjusted to produce output like following:

$ xmap -V
xmap AUR 2.0.2.r0.g86ae0fe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions