Extract version into variable set during build

* The build script sets the "main.version" variable
Find version in git tag (using describe)