App version is "(git missing)" when built from sources


#1

I have built axoloti from source on Windows, and noticed that the app version is "(git missing)". Is this expected? It prevents me from loading patches built with any version of axoloti, so would like to know what the best practice is. Thanks for your help :slight_smile:

Details:

  1. I get the following messages (shortened here) in the console:

INFO: Current user library does not match correct version master -> (git missing)
INFO: Current factory library does not match correct version, upgrading master -> (git missing)

Apr 29, 2017 12:58:10 PM axoloti.utils.AxoGitLibrary checkout
SEVERE: null
org.eclipse.jgit.api.errors.InvalidRefNameException: Branch name (git missing) is not allowed

2.Going to Help->About shows build version as (git missing)


#2

Yes, expected , you need git to be installed and on path - it's used to determine version from tag.

Alternatively , you can manuall set revision on libraries.