dmd git master version
H. S. Teoh
hsteoh at qfbox.info
Wed Oct 12 20:39:59 UTC 2022
On Wed, Oct 12, 2022 at 04:31:20PM -0400, Steven Schveighoffer via Digitalmars-d wrote:
> 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?
[...]
> 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.
[...]
You mean it acquires the version number from git tags?? That explains a
lot. :-D
T
--
Never criticize a man until you've walked a mile in his shoes. Then when you do criticize him, you'll be a mile away and he won't have his shoes.
More information about the Digitalmars-d
mailing list