Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (6 sloc) 276 Bytes
#!/bin/bash
# encoding:utf-8
readonly url=$(curl https://api.github.com/repos/googlecodelabs/tools/releases/latest | \
jq -r '.assets[] | select(.name == "claat-linux-amd64") | .url')
curl -LJ -o /tmp/claat -H 'Accept: application/octet-stream' $url
chmod u+x /tmp/claat
You can’t perform that action at this time.