Update GitLab CI pipeline

This commit is contained in:
Raphael Michel 2024-05-31 16:41:30 +02:00
parent 5ca03ba7b7
commit a2b7462d0a
1 changed files with 6 additions and 6 deletions

View File

@ -1,15 +1,15 @@
pypi:
image:
name: pretix/ci-image
before_script:
- cat $PYPIRC > ~/.pypirc
- pip install -U pip uv
- uv pip install --system -U wheel setuptools twine build pretix-plugin-build check-manifest
script:
- cp /keys/.pypirc ~/.pypirc
- virtualenv /tmp/env
- source /tmp/env/bin/activate
- XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools twine build pretix-plugin-build check-manifest
- python -m build
- check-manifest .
- twine check dist/*
- twine upload dist/*
tags:
- python3
only:
- pypi
artifacts: