ci: use twine instead of plugin
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
Lukáš Kucharczyk 2021-06-24 22:04:46 +02:00
parent f994988fdd
commit 2cc4ff1b85
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 7 additions and 5 deletions

View File

@ -10,12 +10,14 @@ steps:
- python -m pip install build
- python -m build
- name: publish
image: plugins/pypi
settings:
setupfile: setup.cfg
username:
image: python
commands:
- python -m pip install twine
- python -m twine upload -u $USERNAME -p $PASSWORD dist/*
environment:
USERNAME:
from_secret: pypi_username
password:
PASSWORD:
from_secret: pypi_password
trigger:
event: