File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9898 # months, at least for bi-weekly releases.
9999 for f in doc/data/*_prs.json; do
100100 for x in Algorithm Analysis Common DataFormats Detectors EventVisualisation Examples Framework Generators Steer Testing Utilities; do
101- 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
102- if [ ! X`jq -s length /tmp/$x_prs .json` = X0 ]; then
103- 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
101+ 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
102+ if [ ! X`jq -s length /tmp/${x}_prs .json` = X0 ]; then
103+ 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
104104 fi
105105 done
106106 done
@@ -115,7 +115,7 @@ jobs:
115115 cat << EOF >> CHANGELOG.md
116116 ## Changes in $x
117117 EOF
118- cat /tmp/$x_prs .md | sort -k3 | uniq >> CHANGELOG.md
118+ cat /tmp/${x}_prs .md | sort -k3 | uniq >> CHANGELOG.md
119119 done
120120 - name : Commit and push if changed
121121 run : |-
You can’t perform that action at this time.
0 commit comments