diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9e13111..aced2fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,8 @@ build: - tar -zcf static.tar.gz static # Clean up the directory outside of the gitlab-runner filesystem. - rm -rf /opt/make_post_sell/env + # Ensure bin/python symlink exists (Python 3.12 venv may only create python3). + - test -f env/bin/python || ln -sf python3 env/bin/python # Clone the virtualenv with virtualenv-clone into the desired location. - virtualenv-clone -vvv $PWD/env /opt/make_post_sell/env # Create a tarball of the virtualenv.