From 9d3e324620453ef3991d2d78e49363cc589abac3 Mon Sep 17 00:00:00 2001
From: Daniel Sali <daniel.sali@alphacruncher.com>
Date: Fri, 13 Dec 2024 10:09:14 +0100
Subject: [PATCH] CI/CD pipeline to build on main commit and publish to PyPI on
 release 4

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8da5837..3454917 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,9 @@ default:
       - .pip-cache/
   before_script:
     - python3 --version
-    - python3 -m ensurepip --upgrade
+    - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
+    - python3 get-pip.py
+    - pip install --upgrade pip
     - pip install build twine
 
 stages:
-- 
GitLab