fix: naprawiono encoding changelog-data.html (1.2GB → 91KB) i build-update.ps1
Get-Content bez -Encoding UTF8 psuło polskie znaki przy każdym buildzie, powodując wykładnicze powiększanie pliku. Zamieniono na ReadAllText(UTF8). Plik changelog-data.html wygenerowany od nowa z docs/CHANGELOG.md. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -379,7 +379,7 @@ if (Test-Path $changelogFile) {
|
||||
$dateStr = Get-Date -Format "dd.MM.yyyy"
|
||||
$newEntry = "<b>ver. $versionNumber - $dateStr</b><br />`n$ChangelogEntry`n<hr>`n"
|
||||
|
||||
$changelogContent = Get-Content $changelogFile -Raw
|
||||
$changelogContent = [System.IO.File]::ReadAllText($changelogFile, $Utf8NoBom)
|
||||
$changelogContent = $newEntry + $changelogContent
|
||||
[System.IO.File]::WriteAllText($changelogFile, $changelogContent, $Utf8NoBom)
|
||||
Write-Ok "Zaktualizowano changelog-data.html"
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user