Update python build script!!

This commit is contained in:
Li 2022-05-08 13:44:46 +12:00
parent 35c51946e4
commit f9e1a7b755

View file

@ -20,11 +20,13 @@ def update_asm_info(assemblyinfofile):
# Determine git stuff. # Determine git stuff.
versioning_folder = os.path.join("LibHISP", "Resources", "Versioning") try:
versioning_folder = os.path.join("LibHISP", "Resources", "Versioning")
if not os.path.exists(versioning_folder): if not os.path.exists(versioning_folder):
os.mkdir(versioning_folder) os.mkdir(versioning_folder)
except FileExistsError:
pass
commit_hash = "0"*40 commit_hash = "0"*40
commit_tag = "v0.0.0" commit_tag = "v0.0.0"
commit_branch = "master" commit_branch = "master"