fix: Fix PowerShell syntax error in upload script

- Remove problematic Unicode characters (checkmark symbols)
- Replace with ASCII [OK] labels
- Script now parses correctly without encoding issues
This commit is contained in:
claudi 2026-01-28 14:43:19 +01:00
parent e4a3a9a2cc
commit a4659d0a92

View file

@ -85,7 +85,7 @@ try {
-InFile $ExePath `
-ContentType "application/octet-stream"
Write-Host " Executable uploaded successfully" -ForegroundColor Green
Write-Host "[OK] Executable uploaded successfully" -ForegroundColor Green
}
catch {
Write-Host "ERROR uploading executable: $_" -ForegroundColor Red
@ -103,12 +103,12 @@ try {
-Body $checksum `
-ContentType "text/plain"
Write-Host " Checksum uploaded successfully" -ForegroundColor Green
Write-Host "[OK] Checksum uploaded successfully" -ForegroundColor Green
}
catch {
Write-Host "ERROR uploading checksum: $_" -ForegroundColor Red
exit 1
}
Write-Host "`n Upload complete!" -ForegroundColor Green
Write-Host "`n[OK] Upload complete!" -ForegroundColor Green
Write-Host "View at: $ForgejoUrl/$Repo/packages" -ForegroundColor Cyan