fix(ci): fix shell script error when commit messages contain backticks
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -324,13 +324,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate release notes
|
- name: Generate release notes
|
||||||
id: 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: |
|
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 "# ${VERSION} Release / 发布" > release_notes.md
|
||||||
echo "" >> release_notes.md
|
echo "" >> release_notes.md
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user