From c5c9fd9d5763b392e7d95b77f46dc2e01824bab4 Mon Sep 17 00:00:00 2001 From: fujie Date: Mon, 9 Feb 2026 19:53:23 +0800 Subject: [PATCH] fix(ci): fix shell script error when commit messages contain backticks --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05169f7..6e4df0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -324,13 +324,13 @@ jobs: - name: Generate release notes id: notes + env: + VERSION: ${{ steps.version.outputs.version }} + TITLE: ${{ github.event.inputs.release_title }} + NOTES: ${{ github.event.inputs.release_notes }} + DETECTED_CHANGES: ${{ needs.check-changes.outputs.release_notes }} + COMMITS: ${{ steps.commits.outputs.commits }} run: | - VERSION="${{ steps.version.outputs.version }}" - TITLE="${{ github.event.inputs.release_title }}" - NOTES="${{ github.event.inputs.release_notes }}" - DETECTED_CHANGES="${{ needs.check-changes.outputs.release_notes }}" - COMMITS="${{ steps.commits.outputs.commits }}" - echo "# ${VERSION} Release / 发布" > release_notes.md echo "" >> release_notes.md