fix(ci): fix release naming
This commit is contained in:
parent
4f8ee01067
commit
181916ad04
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -97,8 +97,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.event_name == 'workflow_dispatch' && '' || github.ref }}
|
||||||
release_name: Release ${{ github.ref }}
|
release_name: Release ${{ github.event_name == 'workflow_dispatch' && 'main' || github.ref }}
|
||||||
draft: false
|
draft: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue