Skip to content

Commit

Permalink
v7.53 修复Debian经常制作失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzd committed Apr 11, 2023
1 parent c709b49 commit 1f393d0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Binary file modified AntDeploy2022/AntDeployV2/AntDeployWinform.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion AntDeploy2022/AntDeployV2/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="AntDeployV2.7c9b7525-17b5-4862-91fd-75e80893e476" Version="3.2" Language="en-US" Publisher="yuzd" />
<Identity Id="AntDeployV2.7c9b7525-17b5-4862-91fd-75e80893e476" Version="3.3" Language="en-US" Publisher="yuzd" />
<DisplayName>AntDeployV2</DisplayName>
<Description xml:space="preserve">Tools to deploy applications to remote server(iis,windowsService,docker) support netframwork and dotnetcore,support rollback and increment deploy</Description>
<MoreInfo>https://github.com/yuzd</MoreInfo>
Expand Down
9 changes: 7 additions & 2 deletions AntDeployWinform/Util/SSHClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1479,15 +1479,20 @@ public bool RunSheell(string command)
}
}

cmd.EndExecute(result);

var rt = cmd.EndExecute(result);
_logger("result:" + rt, LogLevel.Info);
if (!string.IsNullOrEmpty(cmd.Error))
{
if (cmd.Error.Contains("unable to resolve host"))
{
_logger(cmd.Error, LogLevel.Warn);
return true;
}
else if (cmd.Error.Contains("writing image sha256:"))
{
_logger(cmd.Error, LogLevel.Warn);
return true;
}
_logger(cmd.Error, LogLevel.Error);
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion AntDeployWinform/Vsix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public static class Vsix
{
public const string FORM_NAME = "AntDeploy("+VERSION+")";
public const string VERSION = "7.52";
public const string VERSION = "7.53";
public const string AGENTVERSION = "7.1";
public const string PRODUCT = "yuzd";
public const string PACKAGE = "AntDeploy";
Expand Down

0 comments on commit 1f393d0

Please sign in to comment.