chore:update publish.yml

This commit is contained in:
2061360308 2023-12-19 23:34:40 +08:00
parent 33cbc504e8
commit f33da55fb7

View File

@ -25,7 +25,7 @@ jobs:
- name: Generate release notes to "RELEASE_NOTES" Environment Variable
run: |
echo "RELEASE_NOTES=$(towncrier --draft | base64)" >> $GITHUB_ENV
echo "RELEASE_NOTES=$(towncrier --draft | sed 's/#//g')" >> $GITHUB_ENV
- name: Generate version notes with towncrier
run: |
@ -52,4 +52,4 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ env.RELEASE_NOTES | base64 --decode }}
body: ${{ env.RELEASE_NOTES }}