From 809ed7093a2c87c6b57cba2aaca9c652effb6d61 Mon Sep 17 00:00:00 2001 From: MentalBlank Date: Sat, 5 Oct 2024 01:47:49 +0000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a0e2ff..26d33ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,10 +121,12 @@ jobs: if [[ "$current_version" != "$latest_release" ]]; then RELEASE_VERSIONS=$(echo "$RELEASE_VERSIONS" | jq ".repos[\"$repo\"] = { \"version\": \"$latest_release\" }") if [[ "$current_version" == "0" ]]; then - echo "NEW_LOG=${NEW_LOG}- **$repo**: $latest_release\n" >> $GITHUB_ENV + NEW_LOG="${NEW_LOG}- **$repo**: $latest_release\n" + echo "NEW_LOG=${NEW_LOG}" >> $GITHUB_ENV echo "New Repo: $repo (version $latest_release)" else - echo "CHANGES_LOG=${CHANGES_LOG}- **$repo**: ${current_version} to $latest_release\n" >> $GITHUB_ENV + CHANGES_LOG="${CHANGES_LOG}- **$repo**: ${current_version} to $latest_release\n" + echo "CHANGES_LOG=$CHANGES_LOG" >> $GITHUB_ENV echo "Updates found for $repo: current version $current_version, latest version $latest_release" fi UPDATES_FOUND=1