bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git-version-gen


From: Simon Josefsson
Subject: Re: git-version-gen
Date: Sun, 16 Jan 2011 21:10:57 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Jim Meyering wrote:
>> Simon Josefsson wrote:
>>> Probably a silly question, but when I use this script to produce
>>> intra-version numbers, how do I make it produce non-intra-version
>>> numbers?  For example when I like to do a release?
>>
>> Run git tag -s ... to tag for the release.
>
> I should have said a little more.
> Given a most recent, reachable tag of "M.N", git-version-gen
> is a lot like "git describe" in that it prints either:
>
>   - "M.N" when M.N refers to the head
>   - "M.N.Z-hhhhh" when there have been Z (0 < Z) commits since M.N

Thanks, I've now had an opportunity to test this and it works fine.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]