19 lines
425 B
YAML
19 lines
425 B
YAML
variables:
|
|
ARTIFACT_PATH: /sln/artifacts
|
|
|
|
stages:
|
|
- package
|
|
|
|
publish-pypi:
|
|
stage: package
|
|
image: python:3.12.2-alpine3.19
|
|
script:
|
|
- apk add --no-cache gcc musl-dev
|
|
- pip install chardet poetry
|
|
- poetry config virtualenvs.in-project true
|
|
- poetry install -E compiler
|
|
- poetry build
|
|
- poetry publish -r ${PYPI_REPO_URL} -u ${PYPI_REPO_USER} -p ${PYPI_REPO_PASSWORD} -n -v
|
|
only:
|
|
- master
|