f5252094c65123df8366f2078ce1af09d51ec970
[msysgit.git] / bin / download-stats.sh
blobf5252094c65123df8366f2078ce1af09d51ec970
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/
6 id=${1:-268568}
7 curl -s https://api.github.com/repos/msysgit/msysgit/releases/$id/assets |
8 grep -e '"name":' -e '"download_count":'