Update ops now ignore changelog errors (#111)

* Update ops now ignore changelog errors

* >tabs

* >still tabs

* >tabs for days
This commit is contained in:
Jordan Brown
2017-07-05 13:45:41 -04:00
committed by GitHub
parent de4a2cc536
commit 8d497e7b92
+4 -10
View File
@@ -68,22 +68,16 @@ namespace TGServerService
}
GenerateChangelog(out res);
if (res != null)
return res;
if (push_changelog_if_enabled && SSHAuth())
if (res == null && push_changelog_if_enabled && SSHAuth())
{
res = Commit();
if (res != null)
return res;
res = Push();
if (res != null)
return res;
if (res == null)
res = Push();
}
if (!Compile(true))
return "Compilation could not be started!";
return null;
return res;
}
catch (Exception e)
{