mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
Workflow: temporery disabling enhanced release notes
This commit is contained in:
parent
9959adbd31
commit
f7338d5dc3
20
.github/workflows/build_release.yml
vendored
20
.github/workflows/build_release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue