File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ START_DATE="$1"
88END_DATE=" $2 "
99
1010if [ -z " $3 " ] || [ " $3 " = " all" ]; then
11- LABELS=(" core" " extractors" " preprocessing" " sorters" " postprocessing" " qualitymetrics " " curation" " widgets" " generators" " hybrid" " sortingcomponents" " motion correction" " documentation" " continuous integration" " packaging" " testing" " deprecations" )
11+ LABELS=(" core" " extractors" " preprocessing" " sorters" " postprocessing" " metrics " " curation" " widgets" " generators" " hybrid" " sortingcomponents" " motion correction" " documentation" " continuous integration" " packaging" " testing" " deprecations" )
1212else
1313 LABELS=(" $3 " )
1414fi
2626fi
2727
2828for LABEL in " ${LABELS[@]} " ; do
29- echo " $LABEL :"
30- echo " "
29+ OUTPUT=" "
3130 for BRANCH in " ${BRANCHES[@]} " ; do
32- gh pr list --repo SpikeInterface/spikeinterface --limit $LIMIT --label " $LABEL " --base " $BRANCH " --state merged --json number,title,mergedAt \
31+ OUTPUT+= $( gh pr list --repo SpikeInterface/spikeinterface --limit $LIMIT --label " $LABEL " --base " $BRANCH " --state merged --json number,title,mergedAt \
3332 | jq -r --arg start_date " ${START_DATE} T00:00:00Z" --arg end_date " ${END_DATE} T00:00:00Z" \
34- ' .[] | select(.mergedAt >= $start_date and .mergedAt <= $end_date) | "* \(.title) (#\(.number))"'
33+ ' .[] | select(.mergedAt >= $start_date and .mergedAt <= $end_date) | "* \(.title) (#\(.number))"' )
3534 done
36- echo " "
35+ if [ -n " $OUTPUT " ]; then
36+ echo " $LABEL :"
37+ echo " "
38+ echo " $OUTPUT "
39+ echo " "
40+ fi
3741done
3842
3943echo " Contributors:"
You can’t perform that action at this time.
0 commit comments