Added a CI helper argument.
Some checks failed
🚀 Pack skyscraper8 / make-zip (push) Failing after 36s

This commit is contained in:
Fey 2026-05-10 18:17:42 +02:00
parent 7c38d20010
commit 0a0d1e4afb

View File

@ -81,8 +81,18 @@ namespace skyscraper5
static void Main(string[] args)
{
IntegrationTest();
if (args.Length == 1)
{
if (args[0].Equals("cicd-version"))
{
Console.WriteLine(VersionInfo.GetPublicReleaseNumber());
return;
}
}
logger.InfoFormat(String.Format("Hello! This is skyscraper8, public release #{0}, code version {1}", VersionInfo.GetPublicReleaseNumber(), VersionInfo.GetCurrentAssemblyDisplayVersion()));
logger.DebugFormat("Found {0}-bit Operating system.", Environment.Is64BitOperatingSystem ? 64 : 32);