]> git.ipfire.org Git - thirdparty/python-drafthorse.git/commitdiff
Update GitLab CI script
authorRaphael Michel <michel@rami.io>
Fri, 5 Aug 2022 08:46:10 +0000 (10:46 +0200)
committerRaphael Michel <michel@rami.io>
Fri, 5 Aug 2022 08:46:10 +0000 (10:46 +0200)
.gitlab-ci.yml

index c087475d676e23bfc4dd063bc9a34aebe7d68fa4..77c67b03f7055f2b721a0d72ea60646420381924 100644 (file)
@@ -3,12 +3,11 @@ pypi:
         - cp /keys/.pypirc ~/.pypirc
         - virtualenv env
         - source env/bin/activate
-        - XDG_CACHE_HOME=/cache pip3 install -U pip setuptools wheel
+        - XDG_CACHE_HOME=/cache pip3 install -U pip setuptools wheel twine
         - XDG_CACHE_HOME=/cache pip3 install -r requirements_dev.txt
-        - python setup.py sdist develop
-        - python setup.py sdist clean
-        - python setup.py sdist upload
-        - python setup.py bdist_wheel upload
+        - python setup.py develop
+        - python setup.py sdist bdist_wheel
+        - twine upload dist/*
     tags:
         - python3
     only: