fix: put private pypi version to environment
This commit is contained in:
parent
c4b5c20ff4
commit
1f320c1ad8
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user