chore: 优化工作流文本逻辑

This commit is contained in:
知一一 2025-06-09 09:28:24 +08:00
parent 7f40cd7c1b
commit e04e0ccb9c
2 changed files with 3 additions and 2 deletions

1
.github/cliff.toml vendored
View File

@ -54,6 +54,7 @@ body = """
footer = """ footer = """
[ Mirror CDK](https://mirrorchyan.com/zh/projects?rid=DoroHelper&source=doro-gh-release)
""" """
[git] [git]

View File

@ -176,8 +176,8 @@ jobs:
name: ${{ steps.get_version.outputs.VERSION_TAG }} name: ${{ steps.get_version.outputs.VERSION_TAG }}
body: | body: |
${{ steps.read_changelog_content.outputs.CHANGELOG_BODY }} ${{ steps.read_changelog_content.outputs.CHANGELOG_BODY }}
--- ${{ steps.prerelease_check.outputs.IS_PRERELEASE == 'true' && '---' || '' }}
测试版兼容性较差,请谨慎下载 ${{ steps.prerelease_check.outputs.IS_PRERELEASE == 'true' && '测试版兼容性较差,请谨慎下载' || '' }}
draft: false draft: false
prerelease: ${{ steps.prerelease_check.outputs.IS_PRERELEASE }} prerelease: ${{ steps.prerelease_check.outputs.IS_PRERELEASE }}
files: DoroHelper.exe files: DoroHelper.exe