From 3bf64b10586608d0f8a2558675cf481594dbbe08 Mon Sep 17 00:00:00 2001 From: SamiAhmed7777 Date: Sun, 26 Oct 2025 02:18:30 -0700 Subject: [PATCH] fix: Resolve PowerShell encoding issues in start-cd.ps1 --- start-cd.ps1 | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/start-cd.ps1 b/start-cd.ps1 index fcc631e..910482a 100644 --- a/start-cd.ps1 +++ b/start-cd.ps1 @@ -86,25 +86,31 @@ function Invoke-OnceCommit { # Commit $timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" - $message = "manual: Update at $timestamp`n`nšŸ¤– Generated with Claude Code Continuous Delivery`n`nCo-Authored-By: Claude " + $message = @" +manual: Update at $timestamp + +Generated with Claude Code Continuous Delivery + +Co-Authored-By: Claude +"@ Write-Host "Creating commit..." -ForegroundColor Cyan git commit -m $message if ($LASTEXITCODE -eq 0) { - Write-Host "āœ“ Commit successful" -ForegroundColor Green + Write-Host "[SUCCESS] Commit successful" -ForegroundColor Green # Push Write-Host "Pushing to GitHub..." -ForegroundColor Cyan git push origin dev if ($LASTEXITCODE -eq 0) { - Write-Host "āœ“ Push successful" -ForegroundColor Green + Write-Host "[SUCCESS] Push successful" -ForegroundColor Green } else { - Write-Host "āœ— Push failed" -ForegroundColor Red + Write-Host "[ERROR] Push failed" -ForegroundColor Red } } else { - Write-Host "āœ— Commit failed" -ForegroundColor Red + Write-Host "[ERROR] Commit failed" -ForegroundColor Red } } finally { Pop-Location @@ -136,7 +142,7 @@ function Stop-CDService { if ($processes) { $processes | Stop-Process -Force - Write-Host "āœ“ Stopped $($processes.Count) CD process(es)" -ForegroundColor Green + Write-Host "[SUCCESS] Stopped $($processes.Count) CD process(es)" -ForegroundColor Green } else { Write-Host "No running CD processes found" -ForegroundColor Yellow }