Update made automatically due to pressing build

This commit is contained in:
Li 2022-05-08 13:13:14 +12:00
parent aed289e5d5
commit 76da976e68
5 changed files with 15 additions and 8 deletions

View file

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.2.15")]
[assembly: AssemblyFileVersion("1.6.2.15")]
[assembly: AssemblyVersion("1.6.2.16")]
[assembly: AssemblyFileVersion("1.6.2.16")]

View file

@ -0,0 +1,7 @@
Package: hisp
Version: 1.6.3
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
Maintainer: Li
Homepage: https://islehorse.com
Architecture: amd64
Description: Open Source Implementation of the server for flash game "Horse Isle".

View file

@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.6.2.15")]
[assembly: AssemblyFileVersion("1.6.2.15")]
[assembly: AssemblyVersion("1.6.2.16")]
[assembly: AssemblyFileVersion("1.6.2.16")]

View file

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.2.15")]
[assembly: AssemblyFileVersion("1.6.2.15")]
[assembly: AssemblyVersion("1.6.2.16")]
[assembly: AssemblyFileVersion("1.6.2.16")]

View file

@ -60,8 +60,8 @@ update_asm_info(os.path.join("N00BS", "Properties", "AssemblyInfo.cs"))
update_asm_info(os.path.join("HISPd", "Properties", "AssemblyInfo.cs"))
control_file = os.path.join("HISPd", "Resources", "DEBIAN", "control")
lines = open(control_file, "r").readlines()
lines = open(control_file, "rb").readlines()
for i in range(0,len(lines)):
if lines[i].startswith(b"Version: "):
lines[i] = b"Version: "+bytes(commit_tag.replace("v", ""), "UTF-8")
open(control_file, "w").writelines(control_file)
open(control_file, "wb").writelines(lines)