summaryrefslogtreecommitdiff
path: root/packaging/release/release.yml
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2016-07-24 22:31:15 -0500
committerJames Cammarata <jimi@sngx.net>2016-08-03 15:48:14 -0500
commita6840b940beaea5e7f3284226c169fdcede482b4 (patch)
treea5e8f5270f201afa7f02221f3f151456a2b83360 /packaging/release/release.yml
parent5f12731797baea35701b20d7d87ab22d1f4adf33 (diff)
downloadansible-a6840b940beaea5e7f3284226c169fdcede482b4.tar.gz
Updating release playbook
* Now generates SHA file for tar.gz too
Diffstat (limited to 'packaging/release/release.yml')
-rw-r--r--packaging/release/release.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/release/release.yml b/packaging/release/release.yml
index 6ebca60b09..ef8712f233 100644
--- a/packaging/release/release.yml
+++ b/packaging/release/release.yml
@@ -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: