2022-09-12 17:14:43 +02:00
|
|
|
pipeline:
|
|
|
|
build:
|
2022-09-12 17:31:22 +02:00
|
|
|
image: python:latest
|
2022-09-12 17:37:52 +02:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
branch: [main, master]
|
2022-09-12 17:14:43 +02:00
|
|
|
commands:
|
2022-09-12 17:31:22 +02:00
|
|
|
- python --version
|
|
|
|
- pip install -U virtualenv --quiet
|
|
|
|
- virtualenv venv
|
|
|
|
- source venv/bin/activate
|
|
|
|
- pip install -U build --quiet
|
2022-09-12 17:14:43 +02:00
|
|
|
- build
|