diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 7517f6ce..2403ebba 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -83,7 +83,8 @@ jobs: - name: Create Release uses: softprops/action-gh-release@v2 with: - draft: ${{ github.event_name == 'workflow_dispatch' || github.ref_type == 'branch' }} + draft: ${{ github.ref_type == 'branch' }} + name: ${{ github.ref_type == 'tag' && format('Release {0}', github.ref_name) || 'Electron Release' }} files: | dist/*.exe dist/*.dmg