Skip to content

Make scancode --version report the Git commit #465

Description

@sschuberth

When using ScanCode's develop branch and updating often, the version number in the source code / last tag in Git stays the same although potentially quite a lot of code has changed. A such it would be beneficial if scancode --version would report its Git commit in some way in order to determine the exact version, maybe by appending the output of git describe --tags. That would also solve the problem of keeping the source code in sync with Git tags, as the current source code reports "ScanCode version 2.0.0rc3" although the latest Git tag is "v2.0.0.rc2". Maybe baking the version info into ScanCode could be done as part of running configure?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions