Skip to content

Commit f8baa47

Browse files
committed
ci: 自动发布 release(draft: false)
1 parent c1937ce commit f8baa47

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,11 @@ jobs:
7373
with:
7474
path: artifacts
7575

76-
# draft:true = 人工复核后再在 GitHub UI 点 Publish。
77-
# 未 Publish 前 electron-updater 看不到版本(会走「暂无已发布版本」静默路径),属预期。
76+
# 自动发布:CI 构建完成后直接公开 release,electron-updater 立即可见。
7877
- name: Create GitHub Release
7978
uses: ncipollo/release-action@v1
8079
with:
81-
draft: true
80+
draft: false
8281
generateReleaseNotes: true
8382
artifacts: |
8483
artifacts/**/*.dmg

0 commit comments

Comments
 (0)