Fix typo: pipefile -> pipefail
Bug: twpowertools:20
Change-Id: I870a8b8a74eb09a3eaff09d17f83392695e028d5
diff --git a/roles/cws-publish/tasks/main.yaml b/roles/cws-publish/tasks/main.yaml
index eac466d..7f37726 100644
--- a/roles/cws-publish/tasks/main.yaml
+++ b/roles/cws-publish/tasks/main.yaml
@@ -31,13 +31,14 @@
when: not (dry_run|bool)
ansible.builtin.shell:
cmd: |
- set -o pipefile
+ set -o pipefail
chrome-webstore-upload upload --auto-publish --extension-id {{ extension_id }} \
--source {{ zip_file.stdout|quote }} \
--client-id {{ credentials.clientId|quote }} \
--refresh-token {{ credentials.refreshToken|quote }} \
2>&1 | tee cws-log.txt
chdir: "{{ zuul.project.src_dir }}/out"
+ executable: /bin/bash
no_log: True
register: uploadcmd
failed_when: