[Issue 22212] dmd version has -dirty suffix on windows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 1 21:23:32 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=22212

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/installer pull request #567 "Merge stable" was merged into master:

- efe3deb3a4ad5851451cd7aa8c9fadabef5fdacf by Iain Buclaw:
  Fix Issue 22212 - dmd version has -dirty suffix on windows

  Typically, git-clone probes the filesystem to see if it handles the
executable bit correctly and the `core.fileMode` variable is automatically set
as necessary. However when building dmd releases using vagrant box method,
git-clone is done on a Linux host (i.e a filesystem that handles the filemode
correctly), then scp'd to a Windows VM (i.e an environment that loses the
filemode). So when building Windows binaries, always ensure this variable is
set to `false`.

https://github.com/dlang/installer/pull/567

--


More information about the Digitalmars-d-bugs mailing list