diff --git a/docs/PACKAGING.md b/docs/PACKAGING.md index bdcf430..a376ada 100644 --- a/docs/PACKAGING.md +++ b/docs/PACKAGING.md @@ -28,8 +28,8 @@ git push origin v0.2.0-beta.1 The workflow builds on native runners: - macOS: DMG and ZIP. -- Windows: x64 NSIS installer and x64 portable ZIP. -- Windows NVIDIA: x64 NSIS installer and x64 portable 7z archive with a dedicated NVIDIA KataGo runtime directory. +- Windows Standard (OpenCL): x64 NSIS installer and x64 portable ZIP. +- Windows NVIDIA (CUDA): x64 NSIS installer and x64 portable 7z archive with a dedicated NVIDIA KataGo runtime directory. - Linux: AppImage, DEB, and tar.gz. GoAgent no longer publishes Lite packages. Public releases should only expose full Standard packages and the Windows NVIDIA edition so users do not accidentally download a package that starts without a bundled KataGo runtime. diff --git a/docs/RELEASE_NOTES_v0.4.17.md b/docs/RELEASE_NOTES_v0.4.17.md index 5810a83..929fc94 100644 --- a/docs/RELEASE_NOTES_v0.4.17.md +++ b/docs/RELEASE_NOTES_v0.4.17.md @@ -14,17 +14,17 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | 平台 / 场景 | 推荐下载 | | --- | --- | -| macOS Apple Silicon(M 系列) | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 安装版,普通用户推荐 | GoAgent-0.4.17-win-x64.exe | -| Windows x64 免安装版 | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA 专版安装版 | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA 专版免安装包 | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| 校验文件 | SHA256SUMS.txt | +| macOS Apple Silicon(M 系列) | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 标准版(OpenCL)安装版,普通用户推荐 | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 标准版(OpenCL)免安装版 | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA 专版(CUDA)安装版,NVIDIA 显卡用户推荐 | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA 专版(CUDA)免安装包 | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### 本版重点 - 公开发布页只保留完整 Standard 包和 Windows NVIDIA 专版,避免用户误下缺少内置 KataGo 的包。 +- Windows 标准版是 OpenCL 版;Windows NVIDIA 专版是 CUDA 版。 - Release workflow 不再构建或上传较小但不完整的包线。 - 发布前继续启动 Windows Standard 和 Windows NVIDIA 包做 packaged smoke,确认下载包能进入应用并读取 KataGo 资源。 - NVIDIA 免安装包继续保留重复 KataGo 检查、solid 7z 压缩和体积预算。 @@ -35,17 +35,17 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | 平台 / 使用情境 | 建議下載 | | --- | --- | -| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 安裝版 | GoAgent-0.4.17-win-x64.exe | -| Windows x64 免安裝版 | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA 專版 | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA 免安裝包 | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| 校驗檔 | SHA256SUMS.txt | +| macOS Apple Silicon | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 Standard(OpenCL)安裝版 | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 Standard(OpenCL)免安裝版 | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA(CUDA)專版安裝版 | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA(CUDA)免安裝包 | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### 本版重點 - 發布頁只保留完整 Standard 包與 Windows NVIDIA 專版,降低使用者選錯下載項的機率。 +- Windows Standard 是 OpenCL 版;Windows NVIDIA 專版是 CUDA 版。 - Release workflow 不再產生或上傳較小但不完整的包線。 - Windows Standard 與 Windows NVIDIA 包仍會在上傳前 smoke 啟動並檢查 KataGo 資源。 @@ -55,17 +55,17 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | Platform / use case | Recommended download | | --- | --- | -| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 installer | GoAgent-0.4.17-win-x64.exe | -| Windows x64 portable ZIP | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA installer | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA portable package | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| Checksums | SHA256SUMS.txt | +| macOS Apple Silicon | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 Standard (OpenCL) installer | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 Standard (OpenCL) portable ZIP | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA (CUDA) installer | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA (CUDA) portable package | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### Highlights - Public releases now expose only complete Standard packages and the Windows NVIDIA edition. +- Windows Standard is the OpenCL edition; Windows NVIDIA is the CUDA edition. - The release workflow no longer builds or uploads the smaller incomplete package family. - Windows Standard and Windows NVIDIA packaged-app smoke checks still run before upload. - NVIDIA portable packages keep duplicate KataGo checks, solid 7z compression, and the release size budget. @@ -76,17 +76,17 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | 環境 | 推奨ファイル | | --- | --- | -| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 インストーラー | GoAgent-0.4.17-win-x64.exe | -| Windows x64 ポータブル ZIP | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA 版 | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA ポータブル | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| チェックサム | SHA256SUMS.txt | +| macOS Apple Silicon | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 Standard(OpenCL)インストーラー | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 Standard(OpenCL)ポータブル ZIP | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA(CUDA)版インストーラー | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA(CUDA)ポータブル | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### 主な変更 - 公開リリースでは、完全な Standard パッケージと Windows NVIDIA 版だけを案内します。 +- Windows Standard は OpenCL 版、Windows NVIDIA は CUDA 版です。 - 小さいが KataGo 実行環境を同梱しないパッケージ系統はビルドおよびアップロードしません。 - Windows Standard / NVIDIA の packaged smoke はアップロード前に継続します。 @@ -96,17 +96,17 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | 환경 | 권장 다운로드 | | --- | --- | -| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 설치 프로그램 | GoAgent-0.4.17-win-x64.exe | -| Windows x64 포터블 ZIP | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA 설치 프로그램 | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA 포터블 | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| 체크섬 | SHA256SUMS.txt | +| macOS Apple Silicon | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 Standard (OpenCL) 설치 프로그램 | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 Standard (OpenCL) 포터블 ZIP | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA (CUDA) 설치 프로그램 | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA (CUDA) 포터블 | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### 이번 버전 - 공개 릴리스에는 완전한 Standard 패키지와 Windows NVIDIA 에디션만 제공합니다. +- Windows Standard는 OpenCL 에디션이고 Windows NVIDIA는 CUDA 에디션입니다. - 더 작지만 KataGo 실행 환경이 포함되지 않는 패키지 계열은 더 이상 빌드하거나 업로드하지 않습니다. - Windows Standard / NVIDIA smoke 검사는 계속 실행됩니다. @@ -116,17 +116,17 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | แพลตฟอร์ม | ไฟล์ที่แนะนำ | | --- | --- | -| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 installer | GoAgent-0.4.17-win-x64.exe | -| Windows x64 portable ZIP | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA installer | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA portable | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| Checksums | SHA256SUMS.txt | +| macOS Apple Silicon | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 Standard (OpenCL) installer | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 Standard (OpenCL) portable ZIP | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA (CUDA) installer | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA (CUDA) portable | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### จุดสำคัญของรุ่นนี้ - หน้า release แสดงเฉพาะแพ็กเกจ Standard แบบครบถ้วนและ Windows NVIDIA edition +- Windows Standard คือ OpenCL edition ส่วน Windows NVIDIA คือ CUDA edition - workflow จะไม่ build หรือ upload ชุดแพ็กเกจขนาดเล็กที่ไม่มี KataGo runtime ในตัว - Windows Standard / NVIDIA packaged smoke ยังคงทำงานก่อนอัปโหลด @@ -136,16 +136,16 @@ This release keeps the broader v0.4 foundation: grounded shape recognition engin | Nền tảng | Gói khuyến nghị | | --- | --- | -| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg | -| macOS Intel | GoAgent-0.4.17-mac-x64.dmg | -| Windows x64 installer | GoAgent-0.4.17-win-x64.exe | -| Windows x64 portable ZIP | GoAgent-0.4.17-win-x64-portable.zip | -| Windows x64 NVIDIA installer | GoAgent-0.4.17-win-x64-nvidia.exe | -| Windows x64 NVIDIA portable | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts | -| Checksums | SHA256SUMS.txt | +| macOS Apple Silicon | [GoAgent-0.4.17-mac-arm64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-arm64.dmg) | +| macOS Intel | [GoAgent-0.4.17-mac-x64.dmg](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-mac-x64.dmg) | +| Windows x64 Standard (OpenCL) installer | [GoAgent-0.4.17-win-x64.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64.exe) | +| Windows x64 Standard (OpenCL) portable ZIP | [GoAgent-0.4.17-win-x64-portable.zip](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-portable.zip) | +| Windows x64 NVIDIA (CUDA) installer | [GoAgent-0.4.17-win-x64-nvidia.exe](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia.exe) | +| Windows x64 NVIDIA (CUDA) portable | [GoAgent-0.4.17-win-x64-nvidia-portable.7z.001](https://github.com/wimi321/GoAgent/releases/download/v0.4.17/GoAgent-0.4.17-win-x64-nvidia-portable.7z.001) | ### Điểm mới - Trang release chỉ hiển thị gói Standard đầy đủ và Windows NVIDIA edition. +- Windows Standard là OpenCL edition; Windows NVIDIA là CUDA edition. - Workflow không còn build hoặc upload dòng gói nhỏ không kèm KataGo runtime. - Windows Standard / NVIDIA packaged smoke vẫn chạy trước khi upload. diff --git a/scripts/check_release_notes_i18n.mjs b/scripts/check_release_notes_i18n.mjs index 60e1753..a849bf0 100644 --- a/scripts/check_release_notes_i18n.mjs +++ b/scripts/check_release_notes_i18n.mjs @@ -28,8 +28,7 @@ const requiredAssets = [ `GoAgent-${version}-win-x64-portable.zip`, `GoAgent-${version}-win-x64.exe`, `GoAgent-${version}-win-x64-nvidia.exe`, - `GoAgent-${version}-win-x64-nvidia-portable.7z.001`, - 'SHA256SUMS.txt' + `GoAgent-${version}-win-x64-nvidia-portable.7z.001` ] const forbiddenAssets = [ `GoAgent-${version}-mac-arm64-lite.dmg`, @@ -67,6 +66,13 @@ for (const section of requiredSections) { } for (const asset of requiredAssets) { if (!body.includes(asset)) failures.push(`missing asset mention: ${asset}`) + const url = `https://github.com/wimi321/GoAgent/releases/download/${tag}/${asset}` + if (!body.includes(`[${asset}](${url})`)) failures.push(`missing clickable download link: ${asset}`) +} +if (!body.includes('OpenCL')) failures.push('missing OpenCL edition label') +if (!body.includes('CUDA')) failures.push('missing CUDA edition label') +if (body.includes('| SHA256SUMS.txt |') || body.includes('| Checksums |') || body.includes('| 校验文件 |') || body.includes('| 校驗檔 |')) { + failures.push('recommended download tables must not advertise checksum files') } for (const asset of forbiddenAssets) { if (body.includes(asset)) failures.push(`release notes must not advertise retired Lite asset: ${asset}`) diff --git a/tests/release-notes-i18n-contract.test.mjs b/tests/release-notes-i18n-contract.test.mjs index c395dc8..883daaa 100644 --- a/tests/release-notes-i18n-contract.test.mjs +++ b/tests/release-notes-i18n-contract.test.mjs @@ -23,9 +23,20 @@ test('release notes list standard and NVIDIA artifacts', () => { `GoAgent-${packageJson.version}-win-x64-nvidia-portable.7z.001` ]) { assert.ok(notes.includes(asset), `missing ${asset}`) + const url = `https://github.com/wimi321/GoAgent/releases/download/v${packageJson.version}/${asset}` + assert.ok(notes.includes(`[${asset}](${url})`), `missing clickable link for ${asset}`) } }) +test('release notes label Windows editions as OpenCL and CUDA without checksum clutter', () => { + assert.match(notes, /OpenCL/) + assert.match(notes, /CUDA/) + assert.doesNotMatch(notes, /\| SHA256SUMS\.txt \|/) + assert.doesNotMatch(notes, /\| Checksums \|/) + assert.doesNotMatch(notes, /\| 校验文件 \|/) + assert.doesNotMatch(notes, /\| 校驗檔 \|/) +}) + test('release notes do not list retired Lite artifacts', () => { for (const asset of [ `GoAgent-${packageJson.version}-mac-arm64-lite.dmg`,