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 pip install build
- python -m build - python -m build
- name: publish - name: publish
image: plugins/pypi image: python
settings: commands:
setupfile: setup.cfg - python -m pip install twine
username: - python -m twine upload -u $USERNAME -p $PASSWORD dist/*
environment:
USERNAME:
from_secret: pypi_username from_secret: pypi_username
password: PASSWORD:
from_secret: pypi_password from_secret: pypi_password
trigger: trigger:
event: event: