set tagName in beta

This commit is contained in:
Brendan Allan
2026-02-20 12:52:06 +08:00
parent b9fe5dc0c0
commit 21e7749fa0

View File

@@ -199,7 +199,7 @@ jobs:
args: --target ${{ matrix.settings.target }} --config ./src-tauri/tauri.prod.conf.json --verbose
updaterJsonPreferNsis: true
releaseId: ${{ needs.version.outputs.release }}
tagName: ${{ needs.version.outputs.tag }}
tagName: ${{ (github.ref_name == 'beta' && needs.version.outputs.version) || needs.version.outputs.tag }}
releaseDraft: true
releaseAssetNamePattern: opencode-desktop-[platform]-[arch][ext]
owner: ${{ (github.ref_name == 'beta' && 'brendonovich') || '' }}