overall better handling and usage of exceptions
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
5d5930265a
commit
f8bbe00d47
21 changed files with 57 additions and 28 deletions
|
@ -3,7 +3,9 @@
|
|||
from requests import get
|
||||
from sys import argv, exit
|
||||
|
||||
assert len(argv) == 3, 'Usage: check_github_for_new_release <repo> <version>'
|
||||
if not len(argv) == 3:
|
||||
print('Usage: check_github_for_new_release <repo> <version>')
|
||||
exit(3)
|
||||
|
||||
repo = argv[1]
|
||||
current_version = argv[2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue