From 3a3da520c5d2b700580fb11f5ddf52b8778e86a0 Mon Sep 17 00:00:00 2001
From: Li
Date: Sat, 18 Jun 2022 10:32:23 +1200
Subject: [PATCH] Update prebuild script
---
HorseIsleServer/prebuild.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/HorseIsleServer/prebuild.py b/HorseIsleServer/prebuild.py
index 6e05ae8..6880b78 100644
--- a/HorseIsleServer/prebuild.py
+++ b/HorseIsleServer/prebuild.py
@@ -11,6 +11,7 @@ def update_asm_info(assemblyinfofile):
global commit_tag
global commit_branch
global assembly_version
+ print("Updating Versopn inside: "+assemblyinfofile)
lines = open(assemblyinfofile, "rb").readlines()
for i in range(0,len(lines)):
if lines[i].startswith(b"[assembly: AssemblyVersion(\""):
@@ -67,6 +68,7 @@ update_asm_info(os.path.join("HISPd" , "Properties", "AssemblyInfo.cs"))
# Update control file in dpkg
control_file = os.path.join("HISPd", "Resources", "DEBIAN", "control")
+print("Updating Versopn inside: "+control_file)
lines = open(control_file, "rb").readlines()
for i in range(0,len(lines)):
if lines[i].startswith(b"Version: "):