Skip to content

Commit a67eaf5

Browse files
committed
fix: ci
1 parent d57f4f8 commit a67eaf5

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,19 @@ jobs:
6464
if: matrix.os == 'windows-latest'
6565
run: pnpm run build:win
6666

67-
- name: Generate Changelog
67+
- name: Generate Changelog and Create Release
6868
if: github.event_name == 'push'
6969
run: npx changelogithub
7070
env:
7171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7272

73-
- name: Create Release
73+
- name: Upload Release Assets
74+
if: github.event_name == 'push' && github.ref_type == 'tag'
7475
uses: softprops/action-gh-release@v2
7576
with:
76-
draft: false
77-
prerelease: true
77+
fail_on_unmatched_files: false
78+
append_body: false
79+
generate_release_notes: false
7880
files: |
7981
dist/*.exe
8082
dist/*.zip

0 commit comments

Comments
 (0)