From 88d12e29f1e3a230fff42006db3e2b9da887bd41 Mon Sep 17 00:00:00 2001 From: wf0229 Date: Wed, 30 Sep 2026 04:08:40 -0700 Subject: [PATCH] build: emit the GitHub update manifest only for the ECNU editions Institutional editions publish their own update source; the stable Windows build no longer fails after a passing launch check. Co-Authored-By: Claude Opus 5.5 --- scripts/ci-017-alpha-desktop.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ci-017-alpha-desktop.ps1 b/scripts/ci-017-alpha-desktop.ps1 index 70e2e548..f816eee1 100644 --- a/scripts/ci-017-alpha-desktop.ps1 +++ b/scripts/ci-017-alpha-desktop.ps1 @@ -136,7 +136,9 @@ try { $result.asset=@{name=[IO.Path]::GetFileName($archive);bytes=(Get-Item $archive).Length;sha256=(Get-FileHash $archive -Algorithm SHA256).Hash.ToLowerInvariant()} $result.passed=$true $result | ConvertTo-Json -Depth 16 | Set-Content (Join-Path $publish "$platform-$(if ($Stable) {'release'} else {'alpha'})-receipt.json") -Encoding utf8NoBOM - if ($Stable -and $IsWindows) { + # The GitHub update manifest only exists for the ECNU editions; institutional + # editions publish their own update source from the receipt. + if ($Stable -and $IsWindows -and $name -in @('EduWork','EduWork-ECNU')) { & node (Join-Path $CoreRoot 'scripts/github-update-manifest.mjs') (Join-Path $publish 'windows-release-receipt.json') "ECNU/$name" } } catch { $result.error=$_.Exception.Message;Write-Host $_.ScriptStackTrace;throw }