Remove panda code versioning (#702)

This commit is contained in:
Igor Biletskyy
2021-08-03 15:07:53 -07:00
committed by GitHub
parent 04d2fbbe64
commit 53b49da48f
2 changed files with 1 additions and 4 deletions

View File

@@ -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):