Skip to content

Commit

Permalink
Sort issues in the release support script
Browse files Browse the repository at this point in the history
  • Loading branch information
lupino3 committed Dec 17, 2017
1 parent ee1074c commit 2779ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/list-mentioned-issues-since-last-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
LAST_TAG=$(git describe --abbrev=0 --tags)
echo "All issues since ${LAST_TAG}"

ISSUES=$(git log HEAD...${LAST_TAG} | egrep "#[0-9]{1,3}" -o | sed -e "s/#//" | uniq)
ISSUES=$(git log HEAD...${LAST_TAG} | egrep "#[0-9]{1,3}" -o | sed -e "s/#//" | sort -n | uniq)
for issue in $ISSUES; do
curl https://api.github.com/repos/lupino3/edumips64/issues/${issue} 2>/dev/null | jq '[.number, .title, .state] | map(tostring) | join(" - ")' | sed 's/"//g'
done

0 comments on commit 2779ac5

Please sign in to comment.