diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 864f78a93fddca38d9f9e4f93b22a035733e1f93..ad11c2dd63618bde3badcad40a850f8824ae70ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ build_dist: interruptible: true stage: build before_script: + - pip3 install poetry - id testuser || adduser --disabled-password --gecos "Test User" testuser - chown -R testuser . script: @@ -22,6 +23,8 @@ build_dist: deploy_gitlab: interruptible: true stage: publish + before_script: + - pip3 install poetry script: - poetry version $(poetry version | cut -d" " -f2)+$(date --date=${CI_COMMIT_TIMESTAMP} +%Y%m%d%H%M%S); - poetry publish -r gitlab