From 101affdd2d8244fd37c0198934f8a83c2ddd355c Mon Sep 17 00:00:00 2001 From: Daniel Sali <daniel.sali@alphacruncher.com> Date: Fri, 13 Dec 2024 10:46:36 +0100 Subject: [PATCH] CI/CD pipeline to build on main commit and publish to PyPI on release 5 --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3454917..4e17351 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,10 +5,8 @@ default: - .pip-cache/ before_script: - python3 --version - - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - - python3 get-pip.py - - pip install --upgrade pip - - pip install build twine + - python3 -m pip install --upgrade pip + - python3 -m pip install build twine stages: - build -- GitLab