From cbc98ed509598c403174e51fedeffba416450523 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 23 Oct 2022 15:44:19 +0200 Subject: [PATCH] add pipefail --- tasks/base_software.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/base_software.yml b/tasks/base_software.yml index 55cdb6a..73225c1 100644 --- a/tasks/base_software.yml +++ b/tasks/base_software.yml @@ -58,6 +58,7 @@ - name: GITHUB | Get current version of bat shell: > warn=False + set -o pipefail curl -L --silent https://api.github.com/repos/sharkdp/bat/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'|sed 's/v//'