From 1f320c1ad856f5b7d07279253ffb9a091be82a4c Mon Sep 17 00:00:00 2001 From: Georg K Date: Thu, 28 Jul 2022 02:16:54 +0300 Subject: [PATCH] fix: put private pypi version to environment --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82fef17..028859e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,11 @@ stages: publish-pypi: stage: package - image: python:3.8 + image: python:3.10 + environment: + PRIVATE_PYPY_VERSION=1.120.1 script: + - sed -i -e 's/1.12.1/${PRIVATE_PYPY_VERSION}/g' aiohttp_pydantic/__init__.py - pip install -U setuptools wheel pip; pip install invoke - invoke upload --pypi-user ${PYPI_REPO_USER} --pypi-password ${PYPI_REPO_PASSWORD} --pypi-url ${PYPI_REPO_URL} only: