From 72b485e2c91a06613956bd26c19843029b7c9cc8 Mon Sep 17 00:00:00 2001
From: Goncalo <goncalo.magno@gmail.com>
Date: Mon, 28 Jan 2019 16:49:10 -0200
Subject: [PATCH] Update path to match pyopencl naming

---
 travis/build-wheels.sh | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/travis/build-wheels.sh b/travis/build-wheels.sh
index 22acfa2e..22df67a7 100755
--- a/travis/build-wheels.sh
+++ b/travis/build-wheels.sh
@@ -25,7 +25,16 @@ for whl in wheelhouse/*.whl; do
 done
 
 /opt/python/cp37-cp37m/bin/pip install twine
-for WHEEL in /io/wheelhouse/pyopencl_gm*.whl; do
-    # /opt/python/cp37-cp37m/bin/twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ "${WHEEL}"
-    /opt/python/cp37-cp37m/bin/twine upload --skip-existing -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" "${WHEEL}"
+for WHEEL in /io/wheelhouse/pyopencl*.whl; do
+    # dev
+    # /opt/python/cp37-cp37m/bin/twine upload \
+    #     --skip-existing \
+    #     --repository-url https://test.pypi.org/legacy/ \
+    #     -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" \
+    #     "${WHEEL}"
+    # prod
+    /opt/python/cp37-cp37m/bin/twine upload \
+        --skip-existing \
+        -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" \
+        "${WHEEL}"
 done
-- 
GitLab