fix(release): declare the latest-alias digest cache before the publisher's top-level awaits use it
Some checks failed
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 22s
ci / .NET API 서버 테스트 (push) Successful in 15s
deploy-site / deploy (push) Successful in 32s
ci / 모바일 린트·타입·Jest (push) Failing after 12m37s
ci / 정본·보안·린트·타입·테스트 (push) Failing after 12m43s
ci / 워크스페이스 빌드 검증 (push) Has been cancelled
portable-unsigned / portable-windows (push) Failing after 39s
release / release-windows (push) Failing after 11s

Also points the Scoop manifest at the 1.10.0 portable build.
This commit is contained in:
Yun Chan 2026-10-18 07:23:40 +09:00
parent f3018f38cb
commit 11e023d4cc
2 changed files with 7 additions and 6 deletions

View file

@ -1,15 +1,15 @@
{
"version": "1.9.0",
"version": "1.10.0",
"description": "로컬 AI 음성 어시스턴트 (faster-whisper + Ollama, 100% 오프라인 지원)",
"homepage": "https://d3ro.chanpaca.net",
"license": "MIT",
"architecture": {
"64bit": {
"url": [
"https://git.chanpaca.net/api/packages/yunchan/generic/d3ro-voice/portable-1.9.0/D3RO-Voice-1.9.0-x64-portable.7z.001"
"https://git.chanpaca.net/api/packages/yunchan/generic/d3ro-voice/portable-1.10.0/D3RO-Voice-1.10.0-x64-portable.7z.001"
],
"hash": [
"68816cad80105f59d90510b8209e13ff4e5d782c86d97239b0e9c058dd839760"
"3269a2b523795e193314cbc53b9ea9d104e517d662383bde95a4498462d8b7f4"
]
}
},
@ -27,7 +27,7 @@
"architecture": {
"64bit": {
"url": [
"https://git.chanpaca.net/api/packages/yunchan/generic/d3ro-voice/portable-$version/D3RO-Voice-1.9.0-x64-portable.7z.001"
"https://git.chanpaca.net/api/packages/yunchan/generic/d3ro-voice/portable-$version/D3RO-Voice-1.10.0-x64-portable.7z.001"
]
}
}

View file

@ -193,6 +193,9 @@ for (const asset of versionedPlan.upload) {
);
}
// latestAlreadyHolds 가 아래 top-level await 중에 불리므로 그보다 먼저 선언해야 한다 (TDZ).
let latestDigestsPromise = null;
// 2) latest feed 갱신 — 설치 자산 먼저, metadata 마지막, 정책 파일 맨 마지막.
// 이미 더 새 버전이 latest에 게시돼 있으면(이전 태그 재실행·mirror 지연 완료)
// alias와 update-policy.json은 건드리지 않는다. 버전별 경로와 Release는 계속 게시한다.
@ -289,8 +292,6 @@ async function sha256(path) {
return hash.digest("hex");
}
let latestDigestsPromise = null;
/** latest alias에 이미 같은 바이트가 있는지 본다. 목록을 못 읽으면 "모름"으로 보고 교체한다. */
async function latestAlreadyHolds(name, digest) {
latestDigestsPromise ??= readRemotePackageDigests({