Delete .pypirc file at end of task
Since this file contains secrets, lets be extra safe and remove the file after we've called twine. Change-Id: I221a2e559430565c6a1a6852368445408d63f4b9 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
1a36ffd08e
commit
4ee195decb
@ -23,3 +23,8 @@
|
|||||||
- name: Upload tarballs with twine
|
- name: Upload tarballs with twine
|
||||||
command: "{{ pypi_twine_executable }} upload -r {{ pypi_repository }} {{ item.path }}"
|
command: "{{ pypi_twine_executable }} upload -r {{ pypi_repository }} {{ item.path }}"
|
||||||
with_items: "{{ found_tarballs.files }}"
|
with_items: "{{ found_tarballs.files }}"
|
||||||
|
|
||||||
|
- name: Delete .pypirc configuration file
|
||||||
|
file:
|
||||||
|
path: ~/.pyirc
|
||||||
|
state: absent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user