Closed client9 closed 6 years ago
$ . ./is_command.sh $ . ./log.sh $ . ./http_download.sh $ . ./github_release.sh $ github_release client9/misspell v0.3.4 $ echo $? 0 # correct ^^ # non existant version number $ github_release client9/misspell xxx curl: (22) The requested URL returned error: 404 Not Found $ echo $? 0 # this repo doesn't have any releases $ github_release client9/shlib curl: (22) The requested URL returned error: 406 Not Acceptable $ echo $? 0
fixed