Make GitHub release script for Travis CI more generic.