mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Changelog fails don't stop
This commit is contained in:
@@ -53,14 +53,14 @@ namespace TGCommandLine
|
||||
if (gen_cl)
|
||||
{
|
||||
var res = Repo.GenerateChangelog(out string error2);
|
||||
if(res != null)
|
||||
{
|
||||
OutputProc(res);
|
||||
return ExitCode.ServerError;
|
||||
}
|
||||
res = Repo.PushChangelog();
|
||||
if (res != null)
|
||||
OutputProc(res);
|
||||
else
|
||||
{
|
||||
res = Repo.PushChangelog();
|
||||
if (res != null)
|
||||
OutputProc(res);
|
||||
}
|
||||
}
|
||||
var resu = Server.GetComponent<ITGCompiler>().Compile(true);
|
||||
OutputProc(resu ? "Compilation started!" : "Compilation could not be started!");
|
||||
|
||||
Reference in New Issue
Block a user