diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b93e81980347f8dea5d725cbd846c2fa30a1eb9..060ef3522009a61244fc9a68a319d1dda2d0c2d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,11 +4,9 @@ stages: - build - publish -# Job 1: construir las distribuciones (sdist/wheel) build_release: stage: build rules: - # Solo ejecuta cuando es un tag (similar a "release published") - if: '$CI_COMMIT_TAG' script: - python -m pip install --upgrade pip @@ -19,14 +17,12 @@ build_release: - dist/ expire_in: 1 week -# Job 2: publicar en PyPI pypi_publish: stage: publish needs: - build_release rules: - if: '$CI_COMMIT_TAG' - # Usa un token de PyPI almacenado en variables de CI/CD variables: TWINE_USERNAME: "__token__" TWINE_PASSWORD: "$PYPI_API_TOKEN" diff --git a/setup.py b/setup.py index 769c5e0e47b026e4a2b8bf0a328ea19db85c12cf..b9bd0b48db74bbd628ca379e309e18a0e08e1d98 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ from setuptools import setup, find_packages setup( - name="provider_gw", - version="0.2", + name="provider_gateway", + version="0.1.0", author="pelayoToAl", url="https://labs.etsi.org/rep/ocf/provider-gateway.git", author_email="pelayo.torresalonso@telefonica.com",