From: Dima K. <gn...@di...> - 2018-03-22 14:03:15
|
Mojca Miklavec <moj...@gm...> writes: > My suggestion would be to: > (a) Check if you are building from git and if so, run "git describe" > to determine the version. That's probably by far the best way to > determine the version. > > (b) When not building from git, you would usually build from a > released tarball which should necessarily have the version written > somewhere anyway and then you know which version that is exactly. Furthermore, this proposal gives you what you actually want: some sort of user-visible indication of the version they're running that they can include in bug reports. A date does not do this. |