From 504a9c6dbd066482a8c9bddef84cbcc15f00e2cf Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Fri, 24 Jan 2025 11:51:53 +0000
Subject: [PATCH] Install twine into venv to upload packages

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3fff7c7..adfa80a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,6 @@ publish-job:
   dependencies:
     - test
   script:
-    - python -m pip install -U twine
-
-    - twine upload -u __token__ -p "$PYPI_TOKEN" dist/*.tar.gz wheelhouse/*
+    - ls dist/ wheelhouse/
+    - venv/bin/pip install -U twine
+    - venv/bin/twine upload -u __token__ -p "$PYPI_TOKEN" dist/*.tar.gz wheelhouse/*
-- 
GitLab