mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-24 05:08:18 +00:00
26a0c86c49
I'm surprised that we didn't already do this! It allows phrasing the policy to accommodate different versions of kumo.
587 B
587 B
kumo.version
{{since('dev')}}
This constant is set to the kumo version string that is also reported by
running kumod --version. This can potentially be used to adjust configuration
according to the installed/running version.
The version string looks like 2025.11.09-d4028f99. You can compare the
strings lexicographically if you wish to test whether a given version is newer
than another; the first component is the date on which the release was made,
the second component component is a git hash.
print(kumo.version)
-- prints something like: 2025.11.09-d4028f99