From 329839c891311c128c1610a88bb7715c742622d6 Mon Sep 17 00:00:00 2001 From: Pelayo Torres Date: Tue, 2 Dec 2025 10:14:06 +0100 Subject: [PATCH] PyPi CI --- .gitlab-ci.yml | 4 ---- setup.py | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b93e81..060ef35 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 769c5e0..b9bd0b4 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", -- GitLab