diff --git a/scripts/git-build-deploy.ps1 b/scripts/git-build-deploy.ps1 index 83abd3d..d94b504 100644 --- a/scripts/git-build-deploy.ps1 +++ b/scripts/git-build-deploy.ps1 @@ -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)"