diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20cb4fc2dda0c560089c933445b7a26d49a7cc93..ccaa4c1f5e7023d9f5e0a705417ca1b1248161e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,20 @@ # # SPDX-License-Identifier: GPL-3.0-or-later + +# =========================================================== +# Hints +# =========================================================== + +# $PYPI_PKG_NAME +# The variable PYPI_PKG_NAME is used in setup.py to determine +# how to name the tarball package. If not set the package is +# named 'saqc'. + +# $TESTPYPI_TOKEN +# The upload token used for testpypi, set it on the gitlab +# page and enable masking to prevent revealing + # =========================================================== # preparation # =========================================================== @@ -138,6 +152,8 @@ doctest: wheel38: stage: build image: python:3.8 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -146,6 +162,8 @@ wheel38: wheel39: stage: build image: python:3.9 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -154,6 +172,8 @@ wheel39: wheel310: stage: build image: python:3.10 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -162,6 +182,8 @@ wheel310: wheel311: stage: build image: python:3.11 + variables: + PYPI_PKG_NAME: "saqc-dev" script: - pip install wheel - pip wheel . @@ -186,7 +208,7 @@ upload_testpypi: except: - schedules variables: - PYPI_PKG_NAME: "saqc-dev" # used in setup.py + PYPI_PKG_NAME: "saqc-dev" TWINE_USERNAME: __token__ TWINE_PASSWORD: $TESTPYPI_TOKEN script: