ci: define tag name to fix nightly release failing (#5397)

This commit is contained in:
Joooye_34
2023-12-26 07:24:29 +00:00
parent f25814b31c
commit 3024b5cc63

View File

@@ -361,6 +361,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
name: ${{ needs.before-make.outputs.RELEASE_VERSION }}
tag_name: ${{ (github.ref_type == 'tag' && github.ref_name) || needs.before-make.outputs.RELEASE_VERSION }}
body: ''
draft: ${{ github.event.inputs.is-draft }}
prerelease: ${{ github.event.inputs.is-pre-release }}