Update made automatically due to pressing build

This commit is contained in:
Li 2022-05-08 12:30:40 +12:00
parent bf4d5f5005
commit f261ea3b88
2 changed files with 8 additions and 4 deletions

View file

@ -46,7 +46,7 @@ namespace HISP.Server
}
public static string GetVersionString()
{
return Resources.GitTag.Replace("\r", "").Replace("\n", "").ToString().Trim() + "."+ GetCommitHashVersion();
return Resources.GitTag.Replace("\r", "").Replace("\n", "").ToString().Trim();
}
public static string GetBranch()
{
@ -72,7 +72,7 @@ namespace HISP.Server
}
public static string GetBuildString()
{
return PRODUCT + " " + GetVersionString() + " " + GetBranch() + " (" + GetArchitecture() + "; " + GetPlatform() + "); Built @ " + GetBuildDate() + " " + GetBuildTime();
return PRODUCT + " " + GetVersionString() + " " + GetBranch() + "@" + GetCommitHash(4) + " (" + GetArchitecture() + "; " + GetPlatform() + "); Built @ " + GetBuildDate() + " " + GetBuildTime();
}
}
}