Update .gitlab-ci.yml file

This commit is contained in:
Steffen Illium 2023-06-19 16:19:13 +02:00
parent 79b909f0a7
commit 33a1765579

View File

@ -1,3 +1,5 @@
image: python:3.11.0-alpine
stages: # List of stages for jobs, and their order of execution
- build
@ -5,4 +7,12 @@ build-job: # This job runs in the build stage, which runs first.
stage: build
script:
- echo "Compiling the code..."
- pip install -U twine
- python setup.py sdist
- echo "Compile complete."
- twine upload dist/*
- echo "Upload complete."
cache: {}
only:
- tags