diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 1826a3dd..f996206e 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -165,7 +165,6 @@ 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" # # 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) @@ -176,8 +175,7 @@ jobs: # -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" + # RELEASE_BODY+="# Release Notes\nVersion: $LATEST_RELEASE\n\n$DESCRIPTION" # Output the release body for GitHub Actions echo "release_body=$RELEASE_BODY" >> $GITHUB_OUTPUT diff --git a/automation_tools/appdata_management.sh b/automation_tools/appdata_management.sh index 835e2018..aeedd5d7 100755 --- a/automation_tools/appdata_management.sh +++ b/automation_tools/appdata_management.sh @@ -7,24 +7,24 @@ source automation_tools/version_extractor.sh # Fetch appdata version appdata_version=$(fetch_appdata_version) -log i "Appdata:\t\t$appdata_version" +echo -e "Appdata:\t\t$appdata_version" # Defining manifest file location appdata_file="net.retrodeck.retrodeck.appdata.xml" # Check if release with appdata_version already exists if grep -q "version=\"$appdata_version\"" "$appdata_file"; then - log i "Deleting existing release version $appdata_version..." + echo -e "Deleting existing release version $appdata_version..." # Remove the existing release entry sed -i "//d" "$appdata_file" fi -log i "Adding new release version $appdata_version..." +echo -e "Adding new release version $appdata_version..." # Get today's date in the required format (YYYY-MM-DD) today_date=$(date +"%Y-%m-%d") -log i "Today is $today_date" +echo -e "Today is $today_date" # Construct the release snippet release_snippet="\