git show "previous tag"
Andrew Edwards via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 27 21:47:51 PDT 2014
Anyone here knows how to consistently obtain the previous tag on git?
Currently, the installer uses:
git describe --abbrev=0 v2.067.0-b1^
This does not always retrieve the correct tag though. In this case the
tag prior to v2.067.0-b1 is v2.066.0, however this command returns
v2.066.0-b1. This causes a problem because v2.066.0-b1 broke the
installer and cannot be used to build DMD. To get around this issue, I
usually upload a different version of the compiler in place of
v2.066.0-b1. This is not the ideal solution because anyone downloading
that v2.066.0-b1.zip will not be getting something completely different.
Assistance appreciated.
Regards,
Andrew
More information about the Digitalmars-d
mailing list