diff options
author | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-26 23:13:45 +0100 |
---|---|---|
committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-04-26 23:13:45 +0100 |
commit | 181916ad04048f999114e866bfa7343f23f2aab1 (patch) | |
tree | 42c87e0d33d0cc2f380e3f55afccca539852ca4a /.github/workflows | |
parent | 4f8ee01067f37ab36b288889834885c6651bdf6b (diff) |
fix(ci): fix release naming
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 405163048..f5b4ea795 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,8 +97,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false + tag_name: ${{ github.event_name == 'workflow_dispatch' && '' || github.ref }} + release_name: Release ${{ github.event_name == 'workflow_dispatch' && 'main' || github.ref }} + draft: ${{ github.event_name == 'workflow_dispatch' }} prerelease: false |