http://d.puremagic.com/issues/show_bug.cgi?id=9316
Summary: Version string should be generated from a git tag Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: leandro.lucare...@sociomantic.com --- Comment #0 from Leandro Lucarella <leandro.lucare...@sociomantic.com> 2013-01-14 02:47:31 PST --- Instead of having to change the version number manually, it would be better to generate the version number from the git tag. For that there is a very handy command called 'describe'. git describe for a commit that have a tag pointing to it, returns the tag name. What's also nice about it is if there isn't the command prints tag-n-hash, where is the name of the last tag found, n is the number of commits on top of it and hash is the current hash. This can make very easy to detect if a compiler is a real release or a development snapshot and would make easier to report bugs for betas, since you can tell exactly which snapshot you're using. I will also suggest using the --dirty option to tell if the working copy was "dirty" (with uncommitted changes) too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------