Git for Windows 1.9.5-preview20141217
[msysgit.git] / bin / download-stats.sh
bloba39e0383e94c50a4b269aec287ecc6d8ae333549
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}
14 curl -s https://api.github.com/repos/msysgit/msysgit/releases/$id/assets |
15 grep -e '"name":' -e '"download_count":'