Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Dec 17, 2024
1 parent 86aaa41 commit dacc084
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/scripts/merge-gates-reports.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/bash
set -eu

REPORT_NAME=$1
NAME_PLURAL=""$REPORT_NAME"s"

combined_reports='{"programs": []}'

# Iterate over each report and merge them
Expand All @@ -15,7 +12,5 @@ for report in ./reports/*; do
combined_reports=$(jq --argjson COMBINED_REPORTS "$combined_reports" '.programs += $COMBINED_REPORTS.programs' <<< "$(cat "$report/$FILE_PATH")")
done

# Wrap the merged memory reports into a new object as to keep the $NAME_PLURAL key

echo "$combined_reports"

0 comments on commit dacc084

Please sign in to comment.