Merge branch 'master' of https://github.com/WagicProject/wagic into cmake

This commit is contained in:
xawotihs
2017-09-02 21:15:47 +02:00
541 changed files with 95355 additions and 35840 deletions

View File

@@ -13,6 +13,7 @@ def checkRelease(repository, remote, branch):
for a in r.assets :
if a.name == remote :
# need to delete the old release
print '!deleting old release! -> ' + r.name
r.delete()
# need also to delete the tag (reference)
ref = repository.ref('tags/latest-' + branch)
@@ -51,6 +52,10 @@ def main():
if (options.token and options.sha and options.local and options.remote and (options.branch == 'master' or options.branch == 'travis_mac_osx' or options.branch == 'cmake' )):
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-'
return
else:
parser.print_help()
return