Use item.path not item on results of find
Change-Id: I6feaf2512803a46ad48e551610571dfbb0cda294
This commit is contained in:
parent
14e2a22299
commit
0763c6358f
@ -20,7 +20,7 @@
|
||||
register: found_wheels
|
||||
|
||||
- name: Upload wheel with twine before tarballs
|
||||
command: "twine upload -r {{ pypi_repository }} {{ item }}"
|
||||
command: "twine upload -r {{ pypi_repository }} {{ item.path }}"
|
||||
with_items: "{{ found_wheels.files }}"
|
||||
when: found_wheels.matched|bool
|
||||
|
||||
@ -31,6 +31,6 @@
|
||||
register: found_tarballs
|
||||
|
||||
- name: Upload tarballs with twine
|
||||
command: "twine upload -r {{ pypi_repository }} {{ item }}"
|
||||
command: "twine upload -r {{ pypi_repository }} {{ item.path }}"
|
||||
with_items: "{{ found_tarballs.files }}"
|
||||
when: found_tarballs.matched|bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user