From aef860a8cc1063d587a384102a2f8cf10a0d6ae1 Mon Sep 17 00:00:00 2001 From: doudou0720 <98651603+doudou0720@users.noreply.github.com> Date: Sat, 4 Apr 2026 11:22:54 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD=E7=9A=84=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E6=A0=BC=E5=BC=8F=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?changelog=E5=B8=A6=E6=9C=89=E5=8F=8C=E5=BC=95=E5=8F=B7=E8=80=8C?= =?UTF-8?q?=E8=A2=ABShell=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 神秘问题 Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com> --- .github/workflows/prerelease.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index e891e6b1..c8ee4798 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -528,13 +528,13 @@ jobs: - name: Create enhanced changelog with file table id: enhanced_changelog run: | - version="${{ needs.prepare.outputs.version }}" + version='${{ needs.prepare.outputs.version }}' # 读取git-cliff生成的changelog内容 - originalChangelog="${{ needs.prepare.outputs.changelog }}" + originalChangelog='${{ needs.prepare.outputs.changelog }}' # 检查是否为预发布版本,如果是则添加警告提示 - if [ "${{ needs.prepare.outputs.is_prerelease }}" = "true" ]; then + if [ '${{ needs.prepare.outputs.is_prerelease }}' = "true" ]; then warningText=$'\n> [!CAUTION]\n' warningText+=$'> **注意:此版本为预览或测试版**\n' warningText+=$'> \n'