Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MentalBlank authored Oct 5, 2024
1 parent d7840d7 commit 809ed70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 809ed70

Please sign in to comment.