loaih/.drone.yml

28 lines
485 B
YAML
Raw Normal View History

2023-01-04 22:06:48 +00:00
---
kind: pipeline
name: default
steps:
- name: compile
image: python
commands:
- pip install wheel
- python setup.py bdist_wheel
- mkdir out
- cp dist/*.whl out/
2023-01-04 22:12:24 +00:00
when:
event: tag
2023-01-04 22:11:27 +00:00
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea-deploy
base_url: https://git.sys42.eu
files: out/*.whl
checksum:
- md5
draft: true
2023-01-04 22:12:24 +00:00
when:
event: tag