base-jobs/playbooks/release-python/post.yaml

12 lines
255 B
YAML

- hosts: all
roles:
- fetch-python-sdist-output
- hosts: localhost
roles:
- role: ensure-twine
when: zuul_success | bool
- role: upload-pypi
pypi_path: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool