mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
[FIX] appeyor config, use APPVEYOR_REPO_BRANCH envirnoment variable
This commit is contained in:
parent
406115ce98
commit
8c05f4344b
@ -42,8 +42,9 @@ after_test:
|
||||
# Upload to pypi.
|
||||
# More precisely. Upload pypi the master builds, and to test-pypi any other builds.
|
||||
# See more at https://stackoverflow.com/a/33662275/2506522
|
||||
- git branch | find "* master" > NUL & IF ERRORLEVEL 1 (
|
||||
twine upload -r testpypi dist\\wexpect*.tar.gz
|
||||
- IF %APPVEYOR_REPO_BRANCH%==master (
|
||||
twine upload -r pypi dist\\wexpect*.tar.gz
|
||||
) ELSE (
|
||||
twine upload -r pypi dist\\wexpect*.tar.gz )
|
||||
twine upload -r testpypi dist\\wexpect*.tar.gz
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user