Update GitLab CI pipeline

This commit is contained in:
Raphael Michel 2024-05-31 16:41:30 +02:00
parent 5ca03ba7b7
commit a2b7462d0a

View file

@ -1,15 +1,15 @@
pypi: 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: 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 - python -m build
- check-manifest . - check-manifest .
- twine check dist/* - twine check dist/*
- twine upload dist/* - twine upload dist/*
tags:
- python3
only: only:
- pypi - pypi
artifacts: artifacts: