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

Re: version format for git snapshot



Hallo,
* Thomas Koch [Mon, Sep 14 2015, 07:51:09AM]:
> Hi,
> 
> my upstream tagged 0.4 a year ago and I want to package the current master 
> commit a5e5f9e that is 24 commits after 0.4. Please assume that this makes 
> sense...
> 
> How would you format the upstream part of the packages version number? How 
> about 0.4+24+git+a5e5f9e?
> 
> The git describe output is v0.4-24-ga5e5f9e.

Is -24 a part of upstream version?

I used to incorporate the date... 0.4-24+git+20150914+ga5e5f9e-1 (and you can
still add a modifier to the date if you need another snapshot).

> Is there any established best practice?
> 
> Have a nice week,

Yoo too...
Eduard.


Reply to: