From 06ae7e6661832df46a165b5662fbdc24609a338a Mon Sep 17 00:00:00 2001 From: Snowykami Date: Tue, 29 Apr 2025 01:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=8F=98=E6=9B=B4=E6=97=A5=E5=BF=97=E6=AD=A5=E9=AA=A4?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=87=BA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BB=A5=E6=AD=A3=E7=A1=AE=E8=AE=BE=E7=BD=AE=20changelog=20?= =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/liteyuki-gitea-release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/liteyuki-gitea-release.yaml b/.github/workflows/liteyuki-gitea-release.yaml index b0e95ed..69a6382 100644 --- a/.github/workflows/liteyuki-gitea-release.yaml +++ b/.github/workflows/liteyuki-gitea-release.yaml @@ -22,7 +22,9 @@ jobs: echo "Current version: ${{ github.ref_name }}" wget -O /usr/bin/changelog https://gitea.com/gitea/changelog/releases/download/v1.0.0/changelog-1.0.0-linux-amd64 chmod +x /usr/bin/changelog - changelog -m=${{ github.ref_name }} -c=./changelog.yaml + changelog_output=$(changelog generate -m=${{ github.ref_name }} -c=./changelog.yaml) + echo "$changelog_output" + echo "::set-output name=changelog::$changelog_output" # 创建 Gitea Release - name: Create Gitea Release @@ -36,7 +38,7 @@ jobs: "tag_name": "'"${{ github.ref_name }}"'", "target_commitish": "main", "name": "'"$TAG_NAME"'", - "body": "'"waiting..."'", + "body": "'"${{ steps.generate_changelog.outputs.changelog }}"'", "draft": false, "prerelease": false }' \ No newline at end of file