From 89f7da706b534ebfdf00ee1c018dea09929adfb2 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Thu, 12 Nov 2026 13:22:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81CI=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E5=B8=83Release=E6=97=B6=E8=87=AA=E5=8A=A8=E7=BC=96?= =?UTF-8?q?=E5=86=99changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gfdgd_xi <3025613752@qq.com> --- .github/workflows/building-deb-base-arm64.yml | 18 +++++++++++++----- .github/workflows/building-deb-base.yml | 18 +++++++++++++----- .../building-deb-with-shell-cross.yml | 18 +++++++++++++----- .github/workflows/building-deb-with-shell.yml | 18 +++++++++++++----- .github/workflows/building-pkg.yml | 17 +++++++++++++---- 5 files changed, 65 insertions(+), 24 deletions(-) diff --git a/.github/workflows/building-deb-base-arm64.yml b/.github/workflows/building-deb-base-arm64.yml index 92a1b50..e2549bf 100755 --- a/.github/workflows/building-deb-base-arm64.yml +++ b/.github/workflows/building-deb-base-arm64.yml @@ -143,12 +143,20 @@ jobs: sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM ${{ inputs.gxde-codename-upload }} $UPATH/$tarName > /dev/null - - name: Create Release - uses: softprops/action-gh-release@v1 + - name: Create changelog text + id: changelog + uses: loopwerk/tag-changelog@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + token: ${{ secrets.RELEASE_TOCKEN_GITHUB }} + include_commit_body: true + + - name: Create Release + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} with: files: | *.deb - generate_release_notes: true + body: ${{ steps.changelog.outputs.changes }} + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} diff --git a/.github/workflows/building-deb-base.yml b/.github/workflows/building-deb-base.yml index c309975..44431d1 100755 --- a/.github/workflows/building-deb-base.yml +++ b/.github/workflows/building-deb-base.yml @@ -144,12 +144,20 @@ jobs: sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM ${{ inputs.gxde-codename-upload }} $UPATH/$tarName > /dev/null - - name: Create Release - uses: softprops/action-gh-release@v1 + - name: Create changelog text + id: changelog + uses: loopwerk/tag-changelog@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + token: ${{ secrets.RELEASE_TOCKEN_GITHUB }} + include_commit_body: true + + - name: Create Release + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} with: files: | *.deb - generate_release_notes: true + body: ${{ steps.changelog.outputs.changes }} + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} \ No newline at end of file diff --git a/.github/workflows/building-deb-with-shell-cross.yml b/.github/workflows/building-deb-with-shell-cross.yml index f337a47..d1979de 100755 --- a/.github/workflows/building-deb-with-shell-cross.yml +++ b/.github/workflows/building-deb-with-shell-cross.yml @@ -499,12 +499,20 @@ jobs: sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM meimei $UPATH/$tarName > /dev/null - - name: Create Release - uses: softprops/action-gh-release@v1 + - name: Create changelog text + id: changelog + uses: loopwerk/tag-changelog@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + token: ${{ secrets.RELEASE_TOCKEN_GITHUB }} + include_commit_body: true + + - name: Create Release + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} with: files: | *.deb - generate_release_notes: true \ No newline at end of file + body: ${{ steps.changelog.outputs.changes }} + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} \ No newline at end of file diff --git a/.github/workflows/building-deb-with-shell.yml b/.github/workflows/building-deb-with-shell.yml index 6ee75f0..1382d21 100755 --- a/.github/workflows/building-deb-with-shell.yml +++ b/.github/workflows/building-deb-with-shell.yml @@ -501,12 +501,20 @@ jobs: sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM tianlu $UPATH/$tarName > /dev/null - - name: Create Release - uses: softprops/action-gh-release@v1 + - name: Create changelog text + id: changelog + uses: loopwerk/tag-changelog@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + token: ${{ secrets.RELEASE_TOCKEN_GITHUB }} + include_commit_body: true + + - name: Create Release + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} with: files: | *.deb - generate_release_notes: true \ No newline at end of file + body: ${{ steps.changelog.outputs.changes }} + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} \ No newline at end of file diff --git a/.github/workflows/building-pkg.yml b/.github/workflows/building-pkg.yml index 754bac5..3d6a02c 100644 --- a/.github/workflows/building-pkg.yml +++ b/.github/workflows/building-pkg.yml @@ -128,11 +128,20 @@ jobs: sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM_ARCH ${{ matrix.arch }} $UPATH/$tarName > /dev/null - - name: Create Release - uses: softprops/action-gh-release@v1 + - name: Create changelog text + id: changelog + uses: loopwerk/tag-changelog@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + token: ${{ secrets.RELEASE_TOCKEN_GITHUB }} + include_commit_body: true + + - name: Create Release + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }} with: files: | packages/*.pkg.tar.* + body: ${{ steps.changelog.outputs.changes }} + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }}