Skip to content
Snippets Groups Projects
Commit 047c0b47 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Install poetry

parent c13a82ae
No related branches found
No related tags found
No related merge requests found
Pipeline #27500 failed
...@@ -8,6 +8,7 @@ build_dist: ...@@ -8,6 +8,7 @@ build_dist:
interruptible: true interruptible: true
stage: build stage: build
before_script: before_script:
- pip3 install poetry
- id testuser || adduser --disabled-password --gecos "Test User" testuser - id testuser || adduser --disabled-password --gecos "Test User" testuser
- chown -R testuser . - chown -R testuser .
script: script:
...@@ -22,6 +23,8 @@ build_dist: ...@@ -22,6 +23,8 @@ build_dist:
deploy_gitlab: deploy_gitlab:
interruptible: true interruptible: true
stage: publish stage: publish
before_script:
- pip3 install poetry
script: script:
- poetry version $(poetry version | cut -d" " -f2)+$(date --date=${CI_COMMIT_TIMESTAMP} +%Y%m%d%H%M%S); - poetry version $(poetry version | cut -d" " -f2)+$(date --date=${CI_COMMIT_TIMESTAMP} +%Y%m%d%H%M%S);
- poetry publish -r gitlab - poetry publish -r gitlab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment