changelog/.drone.yml

25 lines
430 B
YAML
Raw Normal View History

2022-05-04 11:41:29 +00:00
---
kind: pipeline
type: docker
name: build and publish
steps:
- name: build
image: python
commands:
- python -m pip install build
- python -m build
- name: publish
image: python
commands:
- python -m pip install twine
- python -m twine upload -u $USERNAME -p $PASSWORD dist/*
environment:
USERNAME:
from_secret: pypi_username
PASSWORD:
from_secret: pypi_password
trigger:
event:
- tag