From f7338d5dc3a4e549c462d55a08c9f53a941c521c Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 12 Nov 2024 12:08:39 +0900 Subject: [PATCH] Workflow: temporery disabling enhanced release notes --- .github/workflows/build_release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 608c2486..1826a3dd 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -165,19 +165,19 @@ jobs: RELEASE_BODY+="On branch [${{ env.BRANCH_NAME }}](https://github.com/RetroDECK/RetroDECK/tree/${{ env.BRANCH_NAME }}).\n\n" RELEASE_BODY+="## Commits since last release\n" RELEASE_BODY+="${{ steps.get-commits.outputs.commits }}\n\n" - RELEASE_BODY+="## In this release:\n" + # RELEASE_BODY+="## In this release:\n" - # Extract the latest release version and date - LATEST_RELEASE=$(xmlstarlet sel -t -m "//release[1]" -v "@version" -o " (" -v "@date" -o ")" -n net.retrodeck.retrodeck.appdata.xml) + # # Extract the latest release version and date + # LATEST_RELEASE=$(xmlstarlet sel -t -m "//release[1]" -v "@version" -o " (" -v "@date" -o ")" -n net.retrodeck.retrodeck.appdata.xml) - # Extract and format the description content - DESCRIPTION=$(xmlstarlet sel -t -m "//release[1]/description/*" \ - -i "self::p" -o "\n### " -v "." -o "\n" \ - -i "self::ul/li" -o "- " -v "." -o "\n" \ - net.retrodeck.retrodeck.appdata.xml) + # # Extract and format the description content + # DESCRIPTION=$(xmlstarlet sel -t -m "//release[1]/description/*" \ + # -i "self::p" -o "\n### " -v "." -o "\n" \ + # -i "self::ul/li" -o "- " -v "." -o "\n" \ + # net.retrodeck.retrodeck.appdata.xml) - # Construct the full release body - RELEASE_BODY="# Release Notes\nVersion: $LATEST_RELEASE\n\n$DESCRIPTION" + # # Construct the full release body + # RELEASE_BODY="# Release Notes\nVersion: $LATEST_RELEASE\n\n$DESCRIPTION" # Output the release body for GitHub Actions echo "release_body=$RELEASE_BODY" >> $GITHUB_OUTPUT