File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 8181 run : |
8282 set -x
8383 mkdir -p doc/data
84- # We create new files once per month, mostly so that
84+ # We create new files once per month, mostly so that
8585 # we can keep the query results small. It does not
8686 # matter if we get results from different months,
8787 # as what matters is how we merge them.
9696 # being published
9797 LAST_RELEASE="${{ github.event.inputs.LAST_RELEASE_DATE }}"
9898 MERGED_AFTER=${LAST_RELEASE:-$(date -v -14d +%Y-%m-%d)}
99-
10099 # Here we convert all the json files to per subsystem
101100 # logs, using the MERGED_AFTER date to further filter them.
102101 # Notice we can have duplicates in each file,
@@ -106,7 +105,7 @@ jobs:
106105 for f in doc/data/*_prs.json; do
107106 for x in Algorithm Analysis Common DataFormats Detectors EventVisualisation Examples Framework Generators Steer Testing Utilities; do
108107 cat $f | jq ".repository.pullRequests.edges[].node | select(.files.edges[].node.path | test(\"$x\")) | del(.files) | select(.state == \"MERGED\" and .mergedAt >= \"${MERGED_AFTER}\")" > /tmp/${x}_prs.json
109- if [ ! X`jq -s length /tmp/${x}_prs.json` = X0 ]; then
108+ if [ ! X`jq -s length /tmp/${x}_prs.json` = X0 ]; then
110109 cat /tmp/${x}_prs.json | jq -r '"- [#\(.number)](https://github.com/AliceO2Group/AliceO2/pull/\(.number)) \(.mergedAt | split("T")[0]): \(.title) by [@\(.author.login)](https://github.com/\(.author.login))"' | sort -u >> /tmp/${x}_prs.md
111110 fi
112111 done
You can’t perform that action at this time.
0 commit comments