Staging directory + optional CI cho DonDon desktop releases.
Board deploy thủ công theo THA-1500 plan v7: build local → DMG vào thư mục này → Phase C
scripts/publish-github-release.mjstrong monorepodondon. Không cần GitHub Actions secret cho luồng manual.
- Trong monorepo
dondon:set -a && source .env.deploy && set +a(xem.env.deploy.example) ./scripts/deploy-full-release.sh B— build + DMG →DONDON_BUILD_DIR(mặc định thư mục này)./scripts/deploy-full-release.sh C— publish lêntechmely/dondonReleases (DMG +latest.json+ changelog)
Env GH_TOKEN cấu hình tại dondon/.env.deploy (local, gitignored).
Workflow .github/workflows/release-desktop.yml — trigger tag v* hoặc workflow_dispatch, build matrix macOS + Windows trên GitHub Actions.
| Secret | Repo | Khi nào cần |
|---|---|---|
DONDON_RELEASE_TOKEN |
dondon-build |
Chỉ khi dùng CI cross-repo publish |
Scripts trong repo này (extract-changelog.mjs, generate-latest-json.mjs) được mirror sang dondon/scripts/ cho luồng manual.
node scripts/extract-changelog.mjs 0.1.0 ../dondon/CHANGELOG.md