You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by la...@apache.org on 2019/12/16 03:19:01 UTC

[incubator-mxnet] 01/01: Update pypi_publish.py to disable nighlty build upload to Pypi

This is an automated email from the ASF dual-hosted git repository.

lausen pushed a commit to branch leezu-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit 8b896fcbf10c7477f04d2882c4c66e6baa4a371d
Author: Leonard Lausen <la...@amazon.com>
AuthorDate: Mon Dec 16 11:17:58 2019 +0800

    Update pypi_publish.py to disable nighlty build upload to Pypi
---
 cd/python/pypi/pypi_publish.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cd/python/pypi/pypi_publish.py b/cd/python/pypi/pypi_publish.py
index 94d6e87..7e09f64 100755
--- a/cd/python/pypi/pypi_publish.py
+++ b/cd/python/pypi/pypi_publish.py
@@ -48,6 +48,10 @@ def post_wheel(path):
         print('Would have run: {}'.format(cmd))
         return 0
     else:
+        print('Skipping publishing nightly builds to Pypi.')
+        print('See https://github.com/pypa/pypi-support/issues/50 for details')
+        return 0
+
         # DO NOT PRINT CMD IN THIS BLOCK, includes password
         p = subprocess.run(cmd.split(' '),
                         stdout=subprocess.PIPE)