www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13133] New: Using "git describe --abbrev=0 tag^" to obtain

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

          Issue ID: 13133
           Summary: Using "git describe --abbrev=0 tag^" to obtain
                    previous dmd may identify incorrect version
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: edwards.ac gmail.com

If a repo received zero updates between multiple tags, the previous parent is
considered the last tag receiving update.

e.g., running git describe --abbrev=0 v2.066.0-b3^ on the installer repo yields
v2.066.0-b1 because there were no changes in the branch between b1, b2 and b3. 

Running the same command on the dmd repo however, yields v2.066.0-b2. This
occurs because there were changes between picked after both the b1 and b2 tags.

Need to run this command on the dmd repo or find a better way.

--
Jul 15 2014