1 2 3 4 5 6 7
#!/bin/sh if [ -z "$1" ]; then echo 'usage: ./get-changelog.sh "<version>"' else curl -O "https://raw.githubusercontent.com/pantsbuild/pex/v$1/CHANGES.rst" fi