Updating release playbook
* Now generates SHA file for tar.gz too
This commit is contained in:
parent
5f12731797
commit
a6840b940b
1 changed files with 8 additions and 1 deletions
|
@ -169,7 +169,14 @@
|
|||
OFFICIAL: yes
|
||||
|
||||
- name: rename the dist tar.gz to include the full release
|
||||
command: "mv {{release_dir}}/dist/ansible-{{ansible_release_version}}.tar.gz {{release_dir}}/dist/ansible-{{ansible_release_version}}-{{ansible_release_string}}.tar.gz"
|
||||
command:
|
||||
_raw_params: "mv dist/ansible-{{ansible_release_version}}.tar.gz dist/ansible-{{ansible_release_version}}-{{ansible_release_string}}.tar.gz"
|
||||
chdir: "{{release_dir}}/"
|
||||
|
||||
- name: generate the SHA file for the tar.gz
|
||||
shell:
|
||||
_raw_params: "sha256sum dist/ansible-{{ansible_release_version}}-{{ansible_release_string}}.tar.gz > dist/ansible-{{ansible_release_version}}-{{ansible_release_string}}.tar.gz.sha"
|
||||
chdir: "{{release_dir}}/"
|
||||
|
||||
- block:
|
||||
- pause:
|
||||
|
|
Loading…
Reference in a new issue