Обновить CI/CD описание
parent
9fdb9212d2
commit
61489c3387
|
|
@ -484,16 +484,8 @@ $root="D:\iomatex_build\public\releases\$new"
|
|||
|
||||
```powershell
|
||||
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.
|
||||
|
||||
|
|
@ -538,17 +530,8 @@ curl http://192.168.1.102:8088/releases/stable/latest.json
|
|||
```powershell
|
||||
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 для:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue