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:
parent
e4a3a9a2cc
commit
a4659d0a92
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue