diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-22 16:20:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-22 16:20:44 +0200 |
commit | cd080b1a6b17727633cb42bd18d39eb3f7a9e030 (patch) | |
tree | f8be1e415be6acff11debdbc24350591cce82f4a /scripts/generate-code-contributors.sh | |
parent | 0c237b19fdf9c614293c1442f0ab95a81ce05735 (diff) | |
download | PeerTube-cd080b1a6b17727633cb42bd18d39eb3f7a9e030.tar.gz PeerTube-cd080b1a6b17727633cb42bd18d39eb3f7a9e030.tar.zst PeerTube-cd080b1a6b17727633cb42bd18d39eb3f7a9e030.zip |
Update credits
Diffstat (limited to 'scripts/generate-code-contributors.sh')
-rwxr-xr-x | scripts/generate-code-contributors.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/generate-code-contributors.sh b/scripts/generate-code-contributors.sh index 2201377ae..46bf86234 100755 --- a/scripts/generate-code-contributors.sh +++ b/scripts/generate-code-contributors.sh | |||
@@ -2,6 +2,26 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | echo -e "# Code\n" | ||
6 | |||
5 | curl -s https://api.github.com/repos/chocobozzz/peertube/contributors | \ | 7 | curl -s https://api.github.com/repos/chocobozzz/peertube/contributors | \ |
6 | jq -r 'map(" * [" + .login + "](" + .url + ")") | .[]' | \ | 8 | jq -r 'map(" * [" + .login + "](" + .url + ")") | .[]' | \ |
7 | sed 's/api.github.com\/users/github.com/g' | 9 | sed 's/api.github.com\/users/github.com/g' |
10 | |||
11 | ################################################### | ||
12 | |||
13 | echo -e "\n\n# Translations\n" | ||
14 | |||
15 | curl -s \ | ||
16 | -H "Accept: application/json" \ | ||
17 | -H "X-Auth-User: $(grep trad.framasoft.org.username ~/.config/zanata.ini | sed 's@.*=@@')" \ | ||
18 | -H "X-Auth-Token: $(grep trad.framasoft.org.key ~/.config/zanata.ini | sed 's@.*=@@')" \ | ||
19 | "https://trad.framasoft.org/zanata/rest/project/peertube/version/develop/contributors/2018-01-01..$(date +%Y-%m-%d)" \ | ||
20 | | jq -r 'map(" * [" + .username + "](https://trad.framasoft.org/zanata/profile/view/" + .username + ")") | .[]' | ||
21 | |||
22 | ################################################### | ||
23 | |||
24 | echo -e "\n\n# Design\n" | ||
25 | |||
26 | echo -e "By [Olivier Massain](https://twitter.com/omassain)\n" | ||
27 | echo -e "Icons from [Robbie Pearce](https://robbiepearce.com/softies/)" \ No newline at end of file | ||