Re: Rebase and incrementing version numbers
- From
- Santi Béjar <santi@agolina.net>
- Date
- Jan 19, 2012, 23:31 UTC
- Message-ID
- <CA+gHt1CPBYTLLwSSLdu-BmDfuGDzPwi9RnXAku7KZjHLYhUtjQ@mail.gmail.com>
- In-Reply-To
- <CADo4Y9is9mBOJaU+YRTMedTz7FfDrMFoDiqiUvQpVxQpyariPQ@mail.gmail.com>
On Thu, Jan 19, 2012 at 7:48 PM, Michael Nahas <mike.nahas@gmail.com> wrote:
Show 6 quoted lines
> On Thu, Jan 19, 2012 at 1:12 PM, demerphq <demerphq@gmail.com> wrote: >> Stop using version numbers and start using the git sha1 of the code >> you are using. >> >> Yves >
[...]
> 2. The version number needs to be increasing, to work with the current > process. SHA1's are random.
Yes, but you can use "git describe" output:
$ git describe v1.7.6-180-gdf3f3d8
HTH, Santi