diff --git a/.drone.yml b/.drone.yml index 3d60e24..7dcd9bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,3 +24,18 @@ steps: when: event: - tag + +- name: promote + image: python:3 + environment: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: + from_secret: pypi_token + commands: + - pip install twine setuptools wheel + - python setup.py sdist bdist_wheel + - twine check dist/* + - twine upload dist/* + when: + target: + - production diff --git a/setup.py b/setup.py index 8276867..17ee7a1 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="bytetrie", - version="0.0.4", + version="0.0.5", url="https://git.friedl.net/incubator/bytetrie", license="MIT", author="Armin Friedl",