Обновить CI/CD описание

An-J 2026-02-14 10:28:25 +03:00
parent 9fdb9212d2
commit 61489c3387
1 changed files with 2 additions and 19 deletions

@ -484,16 +484,8 @@ $root="D:\iomatex_build\public\releases\$new"
```powershell ```powershell
cd D:\iomatex_build\public\releases\2026-02-13_01 cd D:\iomatex_build\public\releases\2026-02-13_01
Get-ChildItem -Recurse -File |
Where-Object { $_.Name -ne "SHA256SUMS" } |
ForEach-Object {
$h = (Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower()
$relp = $_.FullName.Substring((Get-Location).Path.Length + 1).Replace("\","/")
"$h $relp"
} | Set-Content -Encoding ASCII SHA256SUMS
``` ```
Get-ChildItem -Recurse -File | Where-Object { $_.Name -ne "SHA256SUMS" } | ForEach-Object { $h=(Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower(); $relp=$_.FullName.Substring((Get-Location).Path.Length+1).Replace("\","/"); "$h $relp" } | Set-Content -Encoding ASCII SHA256SUMS
--- ---
Отлично. Давай оформим это как чистый Wiki-блок для твоего CI/CD процесса OTA. Отлично. Давай оформим это как чистый Wiki-блок для твоего CI/CD процесса OTA.
@ -538,17 +530,8 @@ curl http://192.168.1.102:8088/releases/stable/latest.json
```powershell ```powershell
cd D:\iomatex_build\public\releases\2026-02-12_02 cd D:\iomatex_build\public\releases\2026-02-12_02
Get-ChildItem -Recurse -File |
Where-Object { $_.Name -ne "SHA256SUMS" } |
Sort-Object FullName |
ForEach-Object {
$h = (Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower()
$relp = $_.FullName.Substring((Get-Location).Path.Length + 1).Replace("\","/")
"$h $relp"
} | Set-Content -Encoding ASCII -NoNewline SHA256SUMS
"" | Add-Content -Encoding ASCII SHA256SUMS
``` ```
Get-ChildItem -Recurse -File | Where-Object { $_.Name -ne "SHA256SUMS" } | ForEach-Object { $h=(Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower(); $relp=$_.FullName.Substring((Get-Location).Path.Length+1).Replace("\","/"); "$h $relp" } | Set-Content -Encoding ASCII SHA256SUMS
✔ Генерирует SHA для: ✔ Генерирует SHA для: