25 lines
422 B
YAML
25 lines
422 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: compile
|
|
image: python
|
|
commands:
|
|
- pip install wheel
|
|
- python setup.py bdist_wheel
|
|
when:
|
|
event: tag
|
|
|
|
- name: release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: gitea-deploy
|
|
base_url: https://git.sys42.eu/
|
|
files: dist/*.whl
|
|
checksum: md5
|
|
draft: true
|
|
when:
|
|
event: tag
|