Skip to content

feat(#98): CI release workflow — tag v*.*.* → test gate → MSIX artifact + GitHub Release - #113

Open
jamestran1 wants to merge 2 commits into
mainfrom
feat/98-ci-release-workflow
Open

feat(#98): CI release workflow — tag v*.*.* → test gate → MSIX artifact + GitHub Release#113
jamestran1 wants to merge 2 commits into
mainfrom
feat/98-ci-release-workflow

Conversation

@jamestran1

Copy link
Copy Markdown
Owner

Summary

Slice 3/6 của #93 (theo plan trên issue #98, ADR 0005):

  • .github/workflows/release.yml — trigger push tag v*.*.*, một job windows-latest: Test (gạch chắn — đỏ là các step sau không chạy) → cài winapp CLI (microsoft/setup-WinAppCli@v0.2) → pack-msix.ps1 với version bóc từ tag → upload artifact msixgh release create --generate-notes --verify-tag đính kèm .msix.
  • pack-msix.ps1 — dọn khối comment nháp (độc thoại agent từ feat(#93): manifest MSIX + script đóng gói (publish → stamp version → winapp pack) #97) thành một câu nêu ràng buộc thật về dev cert.

Rehearsal (đã chạy thật, đã dọn)

Tag thử v0.0.1 push lên branch này → run 31659754510 xanh toàn bộ (Test → Pack → Upload → Release):

  • GitHub Release v0.0.1 được tạo với asset PdfReaderApp_0.0.1.msix + notes tự tổng hợp ✅
  • Manifest bên trong MSIX: Identity.Version = 0.0.1.0 ✅ (verify bằng Expand-Archive)
  • Push branch thường KHÔNG trigger workflow ✅ (trigger chỉ nghe tags)
  • Release + tag v0.0.1 đã xóa sạch sau rehearsal; tag v0.1.0 để dành cho release thật (release(#93): Release đầu tiên v0.1.0 lên Microsoft Store (việc người) #101)

Ghi chú: script pack-msix.ps1 (#97) lần đầu được chạy thật end-to-end local trong PR này — winapp package hoạt động đúng, MSIX tạo và ký OK, version stamp chính xác.

Test plan

  • Local: pack-msix.ps1 không version → exit 1 với message rõ
  • Local: pack-msix.ps1 -Version 0.0.1 → MSIX với manifest 0.0.1.0
  • CI rehearsal tag v0.0.1 → run xanh, Release + asset đúng
  • 423 tests chạy trong CI (step Test) — pass

Closes #98

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(#93): CI release workflow — tag v*.*.* → test gate → MSIX artifact + GitHub Release

1 participant