On 02/20/2014 02:13 AM, Andrew Edwards wrote: Regardless of which version of DMD one ends up using, the DMD help message only displays the base release version. Meaning, if I'm running beta 1, 2, 3 or rc 1 of release 2.065, typing dmd at the shell prompt always yields "DMD[32/64] D Compiler v2.065". It must be possible to change this so that the correct version information is displayed. If I'm running beta 1, it should say "DMD[32/64] D Compiler v2.065 beta 1" and the same goes for any other release. On 2/20/14, 2:03 PM, Walter Bright wrote: The string printed is set by the variable global.version, which is set in Global::init() by the contents of verstr.h.
Version number is set by the version file. https://github.com/D-Programming-Language/dmd/blob/master/VERSION We should remove that file because it requires manual updating. Instead we can set the version from the build script.
We should indeed remove VERSION from the repo. At no time should HEAD be tagged with a specific version number. This creates confusion when trying to identify between changes intended for master vs. the branch and unnecessarily complicates the pick process.
> We should indeed remove VERSION from the repo See e.g. https://github.com/dlang/dmd/pull/6935 tl;dr: VERSION needs to be kept in the source tree e.g. in case someone downloads the source tarball from GitHub. -> closing this as WONTFIX