From 24d5a5104dc6f2f3a72a91572783d97342384eb2 Mon Sep 17 00:00:00 2001 From: hinashi Date: Wed, 11 Dec 2024 17:18:21 +0900 Subject: [PATCH] Changed git command for display the version --- airone/settings_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airone/settings_common.py b/airone/settings_common.py index 3359a6c9b..b912427b0 100644 --- a/airone/settings_common.py +++ b/airone/settings_common.py @@ -270,7 +270,7 @@ class Common(Configuration): try: proc = subprocess.Popen( - "cd %s && git describe --tags" % BASE_DIR, + "cd %s && git tag --points-at | grep -v pagoda-core- | head -1" % BASE_DIR, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,