- added more meaning to release upload script case

This commit is contained in:
Rolzad73
2017-02-05 00:29:00 -05:00
parent eec38de558
commit 257afd3525
2 changed files with 3 additions and 2 deletions

View File

@@ -69,8 +69,6 @@ after_deploy:
# to run your custom scripts instead of provider deployments
deploy_script:
- echo %APPVEYOR_REPO_COMMIT%
- echo %APPVEYOR_REPO_BRANCH%
- "C:/Python27/python.exe tools/upload-binaries.py -t %GH_TOKEN% -s %APPVEYOR_REPO_COMMIT% -l projects/mtg/bin/Wagic-windows.zip -r Wagic-windows.zip -b %APPVEYOR_REPO_BRANCH%"
# to disable deployment

View File

@@ -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