add pipefail
This commit is contained in:
parent
e592b3833b
commit
cbc98ed509
@ -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//'
|
||||
|
Loading…
Reference in New Issue
Block a user