Remove conditional check for upload-pypi
We don't actually need to conditionally check the result of find because result.files will be an empty list if nothing is found. Change-Id: I29a782df72064e602f072099dcba6ced3d4ea258 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
356c9807c3
commit
0a4f5117df
@ -13,7 +13,6 @@
|
||||
- name: Upload wheel with twine before tarballs
|
||||
command: "{{ pypi_twine_executable }} upload -r {{ pypi_repository }} {{ item.path }}"
|
||||
with_items: "{{ found_wheels.files }}"
|
||||
when: found_wheels.matched|bool
|
||||
|
||||
- name: Find tarballs to upload
|
||||
find:
|
||||
@ -24,4 +23,3 @@
|
||||
- name: Upload tarballs with twine
|
||||
command: "{{ pypi_twine_executable }} upload -r {{ pypi_repository }} {{ item.path }}"
|
||||
with_items: "{{ found_tarballs.files }}"
|
||||
when: found_tarballs.matched|bool
|
||||
|
Loading…
Reference in New Issue
Block a user