Mark msysGit as obsolete
[msysgit.git] / bin / download-stats.sh
bloba6f91ea79920507dc2437943a15923255f1d8879
1 #!/bin/sh
3 # This script shows the download stats on GitHub. Update the id using the
4 # output of curl -s https://api.github.com/repos/msysgit/msysgit/releases
5 # 1.9.2
6 #id=${1:-268568}
7 # 1.9.4
8 #id=${1:-371088}
9 # 1.9.4.msysgit.1
10 #id=${1:-494232}
11 # 1.9.4.msysgit.2
12 #id=${1:-591437}
13 # 1.9.5.msysgit.0
14 #id=${1:-795893}
15 # 1.9.5.msysgit.1
16 id=${1:-1070825}
18 curl -s https://api.github.com/repos/msysgit/msysgit/releases/$id/assets |
19 grep -e '"name":' -e '"download_count":'