From 374522358f12d339621c679d163033dab93166cd Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Thu, 17 Aug 2023 12:22:27 -0300 Subject: [PATCH 1/2] Separated gitlab-ci steps further --- .gitlab-ci.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7c3e9f..5919ed8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,21 @@ image: python:latest -deploy: +build_pypi_packages: + stage: build + only: + - master + before_script: + - pip install build + script: + - python -m build + +deploy_to_pypi: stage: deploy only: - master before_script: - - pip install build twine + - pip install twine script: - - python -m build - TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/* lint: From 90ad8925f77cab003a7a72447fc44711e6ed40bb Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Thu, 17 Aug 2023 12:23:02 -0300 Subject: [PATCH 2/2] Upgraded version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 09c00ac..b6a8704 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ build-backend = "hatchling.build" [project] name = "ute_wrapper" -version = "1.0.0" +version = "1.0.1" authors = [ { name="Roger Gonzalez", email="roger@rogs.me" }, ]