- added more meaning to release upload script case
This commit is contained in:
@@ -51,6 +51,9 @@ def main():
|
||||
|
||||
if (options.token and options.sha and options.local and options.remote and (options.branch == 'master' or options.branch == 'travis_mac_osx')):
|
||||
gh = login(token = options.token)
|
||||
elif (options.branch != 'master' and options.branch != 'travis_mac_osx'):
|
||||
print '!branch is not master or travis_mac_osx! -> ' + options.branch
|
||||
print '-will not upload-'
|
||||
else:
|
||||
parser.print_help()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user