Skip to content
Snippets Groups Projects
Verified Commit 3469b061 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Upload release wheels.

parent 4f5d8a36
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,24 @@ release:
release:
tag_name: "$CI_COMMIT_TAG"
description: "Created using the GitLab release-cli."
publish wheels:
stage: release
needs: ["build wheels linux", "build wheels mac", "build wheels win"]
tags: [envinf, shell]
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
variables:
PYPI_PASSWORD: "${TEST_PYPI_TOKEN}"
PYPI_REPO: testpypi
- if: $CI_COMMIT_TAG
variables:
PYPI_PASSWORD: "${PYPI_TOKEN}"
PYPI_REPO: pypi
script:
- >
pipx run twine upload
--repository ${PYPI_REPO}
--username __token__
--password ${PYPI_PASSWORD}
wheelhouse/*
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