On Saturday, 3 June 2017 at 18:42:57 UTC, Seb wrote:
So, I guess your problem is the VERSION file on the dmd stable branch?


No, it's the VERSION file present if one checks out the v2.074.1 tag.

I suspect this doesn't show up in the official packages because IIRC the VERSION file is edited as part of the standard official-package build process.

Can't you simply overwrite the VERSION file in your build process?
Otherwise it's just one simple PR away ;-)

The point is here that this keeps happening. Assuming a VERSION file is considered necessary at all (I believe the intent is to support people using a tarball of the source rather than a git checkout), it shouldn't be possible for a release to be made without it containing the correct version number.

Workarounds like this just perpetuate the problem and throw a burden on downstream packagers. Now that dmd is open-sourced and widespread packaging is feasible, it really would be preferable to fix the problem where it arises.
  • Release D 2.074.1 Martin Nowak via Digitalmars-d-announce
    • Re: Release D 2.07... Ivan Kazmenko via Digitalmars-d-announce
    • Re: Release D 2.07... Joseph Rushton Wakeling via Digitalmars-d-announce
    • Re: Release D 2.07... Jacob Carlborg via Digitalmars-d-announce
    • Re: Release D 2.07... Joseph Rushton Wakeling via Digitalmars-d-announce
      • Re: Release D ... Seb via Digitalmars-d-announce
        • Re: Releas... Joseph Rushton Wakeling via Digitalmars-d-announce
          • Re: Re... Joseph Rushton Wakeling via Digitalmars-d-announce
          • Re: Re... Seb via Digitalmars-d-announce
            • R... Joseph Rushton Wakeling via Digitalmars-d-announce
              • ... Seb via Digitalmars-d-announce
                • ... Joseph Rushton Wakeling via Digitalmars-d-announce
              • ... Martin Nowak via Digitalmars-d-announce
                • ... Joseph Rushton Wakeling via Digitalmars-d-announce
                • ... Jacob Carlborg via Digitalmars-d-announce
      • Re: Release D ... Martin Nowak via Digitalmars-d-announce

Reply via email to