Skip to content

Use git describe to identify versions #937

@sipa

Description

@sipa

It would be nice if we could add a file version.h, which is autogenerated for git builds, and static for source tarballs, with the output of "git describe" as contents. This command gives as output:

  • the latest git tag reachable from the current commit
  • (if any commits since that tag) the number of such commits
  • (if any commits since that tag) the latest commit id

That output could be used as a "build id", available via getinfo or the about box.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions