fix ci script

This commit is contained in:
Wolfgang Hottgenroth 2022-09-16 12:54:28 +02:00
parent 481a173d2a
commit 2d455a7b49
Signed by: wn
GPG Key ID: 836E9E1192A6B132

View File

@ -1,19 +1,19 @@
stages: stages:
- build - build
build: build:
image: python:3.10.7-bullseye image: python:3.10.7-bullseye
stage: build stage: build
tags: tags:
- hottis - hottis
- linux - linux
- docker - docker
variables: variables:
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
TWINE_PASSWORD: ${PYPI_PUBLISHER_TOKEN} TWINE_PASSWORD: ${PYPI_PUBLISHER_TOKEN}
script: script:
- python3 -m pip install --upgrade build - python3 -m pip install --upgrade build
- python3 -m pip install --upgrade twine - python3 -m pip install --upgrade twine
- python3 -m build - python3 -m build
- python3 -m twine upload dist/* - python3 -m twine upload dist/*