diff --git a/.appveyor.yml b/.appveyor.yml index 75cf6e0ac..a0eadb4ea 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -22,7 +22,7 @@ cache: - C:\Users\appveyor\AppData\Local\pip\cache deploy_script: ps: | - if($Env:APPVEYOR_REPO_BRANCH -match "master") { + if(($Env:APPVEYOR_REPO_BRANCH -match "master") -or ($Env:APPVEYOR_REPO_TAG -match "true")) { python .\release\rtool.py bdist python .\release\rtool.py upload-snapshot --bdist } diff --git a/.travis.yml b/.travis.yml index 422a16594..6bc4ddf31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,7 +53,7 @@ script: after_success: - coveralls - | - if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] + if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_PULL_REQUEST == "false" && ($TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG) ]] then pip install -e ./release python ./release/rtool.py bdist