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 = """
[ Mirror CDK](https://mirrorchyan.com/zh/projects?rid=DoroHelper&source=doro-gh-release)
"""
[git]

View File

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