On 30/10/2025 19:15 EET Genes Lists via dovecot <dovecot@dovecot.org> wrote:
On Thu, 2025-10-30 at 18:51 +0200, Aki Tuomi via dovecot wrote:
main branch (git HEAD) is considered v0.0.0. For various reasons. Release branches contain version file and builds with 2.4.2 as version.
If you wish to build 2.4.2 from main HEAD, you can pretend it's 2.4.2 by using VERSION envvar, or creating the version file yourself, but it's still going to be something else than 2.4.2.
Thanks Aki - we're using git head builds for testing, so they need to work and not barf on standard configs from current release version 😄
If there is a better content for "version" than simply '2.4.2', I'd be happy to use it - provided things work on standard current configs.
thanks again.
Â
Gene
Just don't generate version file, and use dovecot_config_version = 0.0.0. This means same as "latest". Which is one of the reason main is 0.0.0, so that you don't build from main and falsely think it's release version.
Aki