Merge pull request #300 from t-b/fix_dll_relocation_problems
[msysgit.git] / bin / download-stats.sh
blob2d0ece306a4008bafdccea1e9ae4b10a3b9bd117
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}
16 curl -s https://api.github.com/repos/msysgit/msysgit/releases/$id/assets |
17 grep -e '"name":' -e '"download_count":'