I bet that Tim builds haproxy as 2.5 :)

[ilia@fedora .git]$ git describe --tags --match 'v*' --abbrev=0 | cut -c 2-
2.5-dev11
[ilia@fedora .git]$

чт, 13 окт. 2022 г. в 14:33, Илья Шипицин <[email protected]>:

> Hello,
>
> I'm running github fork https://github.com/chipitsine/haproxy
> but only master branch is kept in sync (no tags)
>
> because of that, HAProxy version is generated in wrong way:
>
> HAProxy version 2.0-dev2-91b230-9208 2022/10/13 - https://haproxy.org/
>
> that behaviour due to
> https://github.com/haproxy/haproxy/blob/master/Makefile#L513 ...
>
> [ilia@fedora .git]$ git describe --tags --match 'v*' --abbrev=0 | cut -c
> 2-
> 2.0-dev2
> [ilia@fedora .git]$
>
> on line 523 is more fork-friendly way (but it is not default)
>
> https://github.com/haproxy/haproxy/blob/master/Makefile#L523
>
> can we make second as default ? maybe even drop current one in favour of
> second.
>
>
> cheers,
> Ilya
>
>
>

Reply via email to