release: always build tags

This commit is contained in:
Maximilian Hils 2016-04-21 22:52:30 -07:00
parent 5b12720962
commit 3876a1f38c
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ cache:
- C:\Users\appveyor\AppData\Local\pip\cache - C:\Users\appveyor\AppData\Local\pip\cache
deploy_script: deploy_script:
ps: | 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 bdist
python .\release\rtool.py upload-snapshot --bdist python .\release\rtool.py upload-snapshot --bdist
} }

View File

@ -53,7 +53,7 @@ script:
after_success: after_success:
- coveralls - 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 then
pip install -e ./release pip install -e ./release
python ./release/rtool.py bdist python ./release/rtool.py bdist