*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 56b23964 authored by Moser, Maximilian's avatar Moser, Maximilian
Browse files

CI: use pipx run for publish task

* we were still trying to install python packages via pip install here
parent eff6d941
Branches
Tags v2024.2.10
1 merge request!154CI: use pipx run for publish task
...@@ -39,9 +39,8 @@ pypi-release: ...@@ -39,9 +39,8 @@ pypi-release:
rules: rules:
- if: $CI_COMMIT_TAG =~ /^v\d+/ - if: $CI_COMMIT_TAG =~ /^v\d+/
script: script:
- pip3 install --upgrade pip build twine check-manifest
- rm -f dist/* - rm -f dist/*
- python3 -m check_manifest - pipx run check-manifest
- python3 -m build - pipx run build
- python3 -m twine check dist/* - pipx run twine check dist/*
- TWINE_USERNAME=${PYPI_USER} TWINE_PASSWORD=${PYPI_PASSWORD} python3 -m twine upload --skip-existing --non-interactive dist/* - TWINE_USERNAME=${PYPI_USER} TWINE_PASSWORD=${PYPI_PASSWORD} pipx run twine upload --skip-existing --non-interactive dist/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment