Workflow: temporery disabling enhanced release notes

This commit is contained in:
XargonWan 2024-11-12 12:08:39 +09:00
parent 9959adbd31
commit f7338d5dc3

View file

@ -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