1 From 4c2b65c47d328c2f20cc74adcec2286fee6cb5de Mon Sep 17 00:00:00 2001
2 From: Yaroslav Bolyukin <iam@lach.pw>
3 Date: Tue, 30 Jan 2024 18:18:35 +0100
4 Subject: [PATCH] fix: allow building without git
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/setup.py b/setup.py
11 index e01c008..92eca62 100644
14 @@ -71,7 +71,7 @@ def get_flash_version() -> str:
15 ["git", "describe", "--tags", "--always"],
17 ).decode("ascii")[:-1]
18 - except subprocess.CalledProcessError:
20 version = flash_dir / "version.txt"
22 return version.read_text().strip()