X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d4018f2e3b7a4b71fa67676bbc65d1d1adcfdd78..0fb4fe8e4df63fd09704ca0752ed4248dab11ecd:/nominatim/version.py diff --git a/nominatim/version.py b/nominatim/version.py index aef85300..2ece2d79 100644 --- a/nominatim/version.py +++ b/nominatim/version.py @@ -33,12 +33,17 @@ class NominatimVersion(NamedTuple): def __str__(self) -> str: return f"{self.major}.{self.minor}.{self.patch_level}-{self.db_patch_level}" + def release_version(self) -> str: + """ Return the release version in semantic versioning format. -NOMINATIM_VERSION = NominatimVersion(4, 3, 0, 0) + The release version does not include the database patch version. + """ + return f"{self.major}.{self.minor}.{self.patch_level}" + +NOMINATIM_VERSION = NominatimVersion(4, 4, 99, 1) POSTGRESQL_REQUIRED_VERSION = (9, 6) POSTGIS_REQUIRED_VERSION = (2, 2) -HSTORE_REQUIRED_VERSION = (1, 3) # Cmake sets a variable @GIT_HASH@ by executing 'git --log'. It is not run # on every execution of 'make'.