# This file used to define the shell variables `username` and `password`
# but then they would show up in output of `ps`, `bash -x`...
# It is better to use `~/.netrc` which `curl -n` will use.
if ! grep -qs api.github.com ~/.netrc; then
    echo "Set up your Github credentials first:"
    echo "  : >> ~/.netrc"
    echo "  chmod 600 ~/.netrc"
    echo "  echo 'machine api.github.com login USER password PASSWORD' >> ~/.netrc"
    exit 1
fi
