See this topic as example: viewtopic.php?f=3&t=19077
Typically the FreeCAD info is reported as this:
There's no revision number, no Branch nor Hash entry.OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.Unknown
Build type: Release
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1
And that's because the tarball at https://github.com/FreeCAD/FreeCAD/releases/tag/0.16 is void of a src/Build/Version.h file. From this source it is thus impossible to get the proper FreeCAD info.
This Arch build recipe shows that the tarball is downloaded and used to compile the package.
(line 23) https://git.archlinux.org/svntogit/comm ... reecad#n23
I think this needs to be addressed, or the FreeCAD info we require here loses a lot its value.
In FreeCAD's source code there's a script to build a source tarball that contains a src/Build/Version.h file. I've used it in the past to create the freecad-stable PPA packages. The downside is that it generates it with a Debian/Ubuntu based name freecad_<version>.orig.tar.gz which may be problematic for other distros because of the underscore and the "orig" suffix. I'm guessing it wouldn't be complicated to add another rule to the script.
Is there a way to switch off the automatic tarball creation on Github, and upload a tarball manually?