From 5b94e24af14da32779e3507b799f3b984f228363 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 6 Oct 2021 20:23:42 +1100 Subject: [PATCH] Fix docs link for release versions - Use full x.y.z format - Requires a docs release for every code relesase --- InvenTree/InvenTree/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/InvenTree/version.py b/InvenTree/InvenTree/version.py index 03ee877cb2..3ad28ab11b 100644 --- a/InvenTree/InvenTree/version.py +++ b/InvenTree/InvenTree/version.py @@ -104,7 +104,7 @@ def inventreeDocsVersion(): Return the version string matching the latest documentation. Development -> "latest" - Release -> "major.minor" + Release -> "major.minor.sub" e.g. "0.5.2" """ @@ -113,7 +113,7 @@ def inventreeDocsVersion(): else: major, minor, patch = inventreeVersionTuple() - return f"{major}.{minor}" + return f"{major}.{minor}.{patch}" def isInvenTreeUpToDate():