Skip to content

Commit bfce5f1

Browse files
os-zhuangclaude
andcommitted
ci(one): publish release directly, skip draft step
Change draft: true → false so the GitHub Release goes live automatically after all platform builds succeed, removing the manual "Publish release" step from the release flow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 360f7e6 commit bfce5f1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/one.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
inputs:
99
release:
10-
description: 'Create a draft GitHub release with the artifacts'
10+
description: 'Create a GitHub release with the artifacts'
1111
type: boolean
1212
default: false
1313

@@ -256,7 +256,7 @@ jobs:
256256
if-no-files-found: warn
257257

258258
release:
259-
name: Draft release
259+
name: Publish release
260260
needs: build
261261
if: startsWith(github.ref, 'refs/tags/one-v') || inputs.release
262262
runs-on: ubuntu-22.04
@@ -269,10 +269,10 @@ jobs:
269269
env:
270270
TAG: ${{ github.ref_name }}
271271
run: node .github/scripts/build-update-manifest.mjs artifacts "$TAG" > artifacts/latest.json
272-
- name: Create draft release
272+
- name: Create release
273273
uses: softprops/action-gh-release@v2
274274
with:
275-
draft: true
275+
draft: false
276276
generate_release_notes: true
277277
name: ObjectOS One ${{ github.ref_name }}
278278
files: |

0 commit comments

Comments
 (0)