Re: git show "previous tag"

2014-08-29 Thread Andrew Edwards via Digitalmars-d
On 8/29/14, 10:55 AM, Dicebot wrote: On Thursday, 28 August 2014 at 05:13:06 UTC, Andrei Alexandrescu wrote: On 8/27/14, 9:47 PM, Andrew Edwards wrote: Anyone here knows how to consistently obtain the previous tag on git? Are tags always coming in order? Then it's easy: git tag | tail -n2 |

Re: git show "previous tag"

2014-08-28 Thread Dicebot via Digitalmars-d
On Thursday, 28 August 2014 at 05:13:06 UTC, Andrei Alexandrescu wrote: On 8/27/14, 9:47 PM, Andrew Edwards wrote: Anyone here knows how to consistently obtain the previous tag on git? Are tags always coming in order? Then it's easy: git tag | tail -n2 | head -n1 Andrei Not in semver orde

Re: git show "previous tag"

2014-08-27 Thread Andrei Alexandrescu via Digitalmars-d
On 8/27/14, 9:47 PM, Andrew Edwards wrote: Anyone here knows how to consistently obtain the previous tag on git? Are tags always coming in order? Then it's easy: git tag | tail -n2 | head -n1 Andrei

git show "previous tag"

2014-08-27 Thread Andrew Edwards via Digitalmars-d
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-