ci: add version as tag name when nightly build

This commit is contained in:
李华桥
2023-12-25 17:55:20 +08:00
parent 555d40c3da
commit 55da1c6864

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 }}