From d22585617434a54d2c65b6a73111383a76e04f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 4 Jan 2023 17:20:46 +0100 Subject: [PATCH] Set default version to "git-main" --- CHANGELOG.md | 1 + src/web/tracker/templatetags/version.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81d6b66..58115b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,3 @@ ## Unreleased * Hide navigation bar items if there are no games/purchases/sessions +* Set default version to "git-main" to indicate development environment diff --git a/src/web/tracker/templatetags/version.py b/src/web/tracker/templatetags/version.py index 054c854..2bbfc25 100644 --- a/src/web/tracker/templatetags/version.py +++ b/src/web/tracker/templatetags/version.py @@ -15,4 +15,4 @@ def version_date(): @register.simple_tag def version(): - return os.environ.get("VERSION_NUMBER", "UNKNOWN VERSION") + return os.environ.get("VERSION_NUMBER", "git-main")