Merge "Record artifact checksums and signatures to stdout"
This commit is contained in:
commit
db4b57026a
@ -38,3 +38,17 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ gnupg_tmpdir.path }}"
|
path: "{{ gnupg_tmpdir.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: Record checksums
|
||||||
|
command: "sha256sum {{ zj_artifact.path }}"
|
||||||
|
with_items: "{{ artifacts.files }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: zj_artifact
|
||||||
|
when: artifacts.matched > 0
|
||||||
|
|
||||||
|
- name: Record signatures
|
||||||
|
command: "cat {{ zj_artifact.path }}.asc"
|
||||||
|
with_items: "{{ artifacts.files }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: zj_artifact
|
||||||
|
when: artifacts.matched > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user