From ef9c51b11533abff1fa9b95988cdf9cc3909d18d Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sat, 8 Mar 2025 18:40:00 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68eb5db..100dbb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,6 @@ stages: - test - #- build - #- deploy + - pypi-twine test: stage: test @@ -12,3 +11,14 @@ test: - env.vanilla expire_in: 1 hour +pypi-twine: + stage: pypi-twine + tags: + - build + only: + - tags + script: + - pip install --upgrade pip + - pip install twine + - python3 setup.py sdist bdist_wheel + - twine upload dist/*