From 3567ad604fdd577b7ab688e9a92d857d3469d1f0 Mon Sep 17 00:00:00 2001 From: Li Date: Sun, 8 May 2022 12:36:36 +1200 Subject: [PATCH] Update made automatically due to pressing build --- HorseIsleServer/prebuild.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/HorseIsleServer/prebuild.py b/HorseIsleServer/prebuild.py index a96c921..a8845e8 100644 --- a/HorseIsleServer/prebuild.py +++ b/HorseIsleServer/prebuild.py @@ -3,18 +3,14 @@ import os import subprocess import time import datetime -import struct import binascii global commit_hash global commit_tag global commit_branch - -def derive_version(): - commit_tag + "." + struct.unpack("h", binascii.unhexlify()) - versioning_folder = os.path.join("LibHISP", "Resources", "Versioning") + if not os.path.exists(versioning_folder): os.mkdir(versioning_folder)