Skip to content
Snippets Groups Projects
Commit d8c4d6b9 authored by vermeul's avatar vermeul
Browse files

build: use uv to build and publish

parent ab86ca68
No related branches found
Tags 0.15.1
No related merge requests found
Pipeline #288900 passed
......@@ -20,11 +20,11 @@ test:
run:
image: python:latest
image: ghcr.io/astral-sh/uv:python3.13-alpine
stage: deploy
script:
- pip install build twine
- python -m build
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- uv build
- UV_PUBLISH_TOKEN=${UV_PUBLISH_TOKEN} uv publish
rules:
- if: $CI_COMMIT_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment