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

Re: Git Package Versioning

Julien Valroff <julien@debian.org> wrote on 2011-03-20 21:48:

> The best I have found is to use something like:
> <latest_upstream_release>+gitYYYYMMDD.<githash>

Please be aware, that "+" is not the optimal connector.
Try dpkg --compare-versions and see:

a)   1.2.0  is less than  1.2.0+git2011

b)   1.2.0  is greater than  1.2.0~git2011

The version b) is the better way. So please use "~" 
as connector.

Have a nice day.

Joachim (Germany)

Reply to: