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

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef9c4af..ec1e43a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ default:
     paths:
       - .pip-cache/
   before_script:
-    - python --version
+    - python3 --version
     - pip install --upgrade pip
     - pip install build twine
 
@@ -19,7 +19,7 @@ variables:
 build:
   stage: build
   script:
-    - python -m build
+    - python3 -m build
   artifacts:
     paths:
       - dist/
@@ -38,7 +38,7 @@ build:
 publish:
   stage: publish
   script:
-    - TWINE_PASSWORD=${PYPI_TOKEN} TWINE_USERNAME=__token__ python -m twine upload dist/*
+    - TWINE_PASSWORD=${PYPI_TOKEN} TWINE_USERNAME=__token__ python3 -m twine upload dist/*
   rules:
     - if: $CI_COMMIT_TAG
     - if: $CI_PIPELINE_SOURCE == "release"
-- 
GitLab