diff --git a/.docs/README_template.rst b/.docs/README_template.rst index f3e0b34..8cc2e22 100644 --- a/.docs/README_template.rst +++ b/.docs/README_template.rst @@ -1,7 +1,8 @@ lib_platform ============ -Version v1.2.5 as of 2020-08-01, see `Changelog`_. + +Version v1.2.5 as of 2020-08-01 see `Changelog`_ .. include:: ./badges.rst diff --git a/.travis.yml b/.travis.yml index 6f8ebab..e760822 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ matrix: - export BUILD_DOCS="False" - export DEPLOY_SDIST="False" - export DEPLOY_WHEEL="False" - - export DEPLOY_TEST="True" + - export DEPLOY_TEST="False" - export MYPY_STRICT="True" diff --git a/README.rst b/README.rst index 93f19e1..68ddb64 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,8 @@ lib_platform ============ -Version v1.2.5 as of 2020-08-01, see `Changelog`_. + +Version v1.2.5 as of 2020-08-01 see `Changelog`_ |travis_build| |license| |jupyter| |pypi| diff --git a/setup.py b/setup.py index d38f291..e62e33f 100644 --- a/setup.py +++ b/setup.py @@ -13,12 +13,8 @@ def is_travis_deploy() -> bool: - if 'DEPLOY' not in os.environ: - return False - if os.environ['DEPLOY'].lower() == 'true' and is_tagged_commit(): - return True - else: - return False + if os.getenv('DEPLOY_SDIST', '') or os.getenv('DEPLOY_WHEEL', ''): + return is_tagged_commit() def is_tagged_commit() -> bool: