diff --git a/VERSION b/VERSION deleted file mode 100644 index ad90322a..00000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -v1.7.5 \ No newline at end of file diff --git a/board/SConscript b/board/SConscript index 669a49a1..c16d191b 100644 --- a/board/SConscript +++ b/board/SConscript @@ -60,13 +60,11 @@ else: def get_version(builder, build_type): - version_file = File('../VERSION').srcnode().abspath - version = open(version_file).read() try: git = subprocess.check_output(["git", "rev-parse", "--short=8", "HEAD"], encoding='utf8').strip() except subprocess.CalledProcessError: git = "unknown" - return f"{version}-{builder}-{git}-{build_type}" + return f"{builder}-{git}-{build_type}" def to_c_uint32(x):