github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/scripts/release-metrics.sh (about) 1 #!/bin/bash 2 # 3 # Usage: ./scripts/release-metrics.sh > releases.csv 4 # 5 # Then import the csv into your favorite data analysis program. 6 7 echo 'Release,Asset,Download Count,Published at' 8 curl -s https://api.github.com/repos/tilt-dev/tilt/releases | \ 9 jq -r '.[] | . as {name:$release,$published_at} | .assets[] | select(.name != "checksums.txt") | [$release,.name,.download_count,$published_at] | @csv'