Last active
December 22, 2020 16:26
-
-
Save sreimers/b7244ae6b5e07fce748c2fe73ee3f554 to your computer and use it in GitHub Desktop.
Replace github changelog.md issue and pull request urls and print authors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's" #\([0-9\]\+\)" [#\1](https://github.com/baresip/baresip/pull/\1)"g' CHANGELOG.md | |
git log v0.6.6...HEAD | grep Author | awk -F"<" '{ print $1 }' | cut -c 9- | sort | uniq | |
egrep -o "[#[0-9]+\]" CHANGELOG.md | sed 's"\[#\([0-9]\+\)\]"[#\1]: https://github.com/baresip/re/pull/\1"' | sort | uniq | |
curl -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/baresip/re/compare/v1.1.0...HEAD\?per_page\=100 | jq -r '.commits[] | .author.login' | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment