python-betterproto/.gitlab-ci.yml
2024-04-09 03:02:35 +03:00

21 lines
505 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
- pip install chardet poetry
- poetry config virtualenvs.in-project true
- poetry install -E compiler
- poetry build
- poetry source add --priority=supplemental connectone ${PYPI_REPO_URL}
- poetry config http-basic.connectone ${PYPI_REPO_USER} ${PYPI_REPO_PASSWORD}
- poetry publish -n
only:
- master