Thread overview
dmd git master version
Oct 12, 2022
H. S. Teoh
Oct 12, 2022
Dennis
October 12, 2022
The current official release of dmd is 2.100.2, but when I build from the git repo, `dmd --version` says:

	DMD64 D Compiler v2.098.1-10051-g61d7d56a0
	Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved written by Walter Bright

Why is it still reporting 2.098.1?  Isn't that like several releases behind already?


T

-- 
In order to understand recursion you must first understand recursion.
October 12, 2022

On Wednesday, 12 October 2022 at 19:04:26 UTC, H. S. Teoh wrote:

>

The current official release of dmd is 2.100.2, but when I build from the git repo, dmd --version says:

Some thinks that come to mind:

  • Is your repo up to date with dlang/dmd?
  • Is the dmd command actually executing the dmd you built?
  • Do you have a locally overridden VERSION file in the root?
October 12, 2022
On 10/12/22 3:04 PM, H. S. Teoh wrote:
> The current official release of dmd is 2.100.2, but when I build from
> the git repo, `dmd --version` says:
> 
> 	DMD64 D Compiler v2.098.1-10051-g61d7d56a0
> 	Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved written by Walter Bright
> 
> Why is it still reporting 2.098.1?  Isn't that like several releases
> behind already?
> 
> 
> T
> 

That looks like a git version tag + some commit.

When you pull the remote branch in, do you specify --tags? You may not be acquiring all the git tags into your local repo.

-Steve