diff --git a/.drone.yml b/.drone.yml index 2a4bead..747ce74 100644 --- a/.drone.yml +++ b/.drone.yml @@ -80,10 +80,14 @@ trigger: - tag steps: -- name: publish pypi - image: plugins/pypi - settings: - username: - from_secret: pypi_username - password: - from_secret: pypi_password \ No newline at end of file + - name: fetch tags + image: alpine/git + commands: + - git fetch --tags + - name: publish pypi + image: plugins/pypi + settings: + username: + from_secret: pypi_username + password: + from_secret: pypi_password \ No newline at end of file