A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(release): deploy website after mirrored metadata is ready
yhhc864ee975aab
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex db8a9df27..9452a47e4 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -107,6 +107,8 @@ jobs:node --input-type=module <<'JS'import {readFileSync} from 'node:fs';const info=JSON.parse(readFileSync('docs/dist/latest.json','utf8'));+ const expected=JSON.parse(readFileSync('package.json','utf8')).version;+ if(info.version!==expected)throw Error(`Release metadata version ${info.version} does not match site version ${expected}`);if(!/^\d+\.\d+\.\d+$/.test(info.version))throw Error('Invalid release version');for(const platform of ['win','mac-arm64']){const file=info.downloads?.[platform];diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.ymlindex 8b8c4cd7f..7bcddacdc 100644--- a/.github/workflows/release-desktop.yml+++ b/.github/workflows/release-desktop.yml@@ -738,7 +738,7 @@ jobs:# (an empty step list is the tell). `v*` is allowed now; a fork or a fresh# clone has to add it once, under Settings → Environments → github-pages.docs:- needs: publish+ needs: [publish, mirror]uses: ./.github/workflows/docs.ymlwith:engine-artifact-run: ${{ github.run_id }}diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0b23e944a..b736c12fa 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,8 @@ published separately; it ships inside the editor.### Fixed+- **Release websites wait for mirrored download metadata.** Documentation deployment starts after the release mirror completes and rejects a latest.json version that differs from the site build, preventing a freshly published page from reverting its version label and download sizes to the previous release.+- **Hidden text and skeletal batches skip vertex conversion.** Camera masks and empty scissors are checked before transforming caller-provided vertices, allocating transient storage or resolving shaders. The same visibility helper preserves SortingGroup layers and explicit text culling bits; visible batches retain their original geometry and per-type statistics.- **Camera-excluded bulk draws skip transient geometry.** Batch and shape submissions check the camera mask before copying vertices or rebasing indices. SortingGroup layers and explicit culling bits keep their existing behavior; resident-vertex submissions skip excluded indices without discarding geometry owned by their caller.diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex b07aa173a..fd0d30cf7 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -28,6 +28,8 @@ export const NOTES_FLOOR = 'v0.65.0';* the reader recognises anyway.*/export const NOTED = {+ 'fix(release): deploy website after mirrored metadata is ready':+ { note: 'Release websites wait for mirrored download metadata.' },'perf(renderer): skip hidden text and skeletal vertex conversion':{ note: 'Hidden text and skeletal batches skip vertex conversion.' },'perf(renderer): cull bulk draws before staging geometry':