统一远程发布脚本换行符
This commit is contained in:
parent
17a205a1d2
commit
9df330d266
@ -186,6 +186,7 @@ $replacements = @{
|
||||
foreach ($entry in $replacements.GetEnumerator()) {
|
||||
$remoteScript = $remoteScript.Replace($entry.Key, $entry.Value)
|
||||
}
|
||||
$remoteScript = $remoteScript.Replace("`r`n", "`n")
|
||||
|
||||
$localTemp = Join-Path ([System.IO.Path]::GetTempPath()) ("yyd-notification-deploy-{0}.sh" -f [guid]::NewGuid().ToString('N'))
|
||||
$remoteTemp = "/tmp/$(Split-Path $localTemp -Leaf)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user