Fix pipe typo bug.
This commit is contained in:
parent
5127bc2ef7
commit
9256aa8d58
2 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ eof
|
||||||
|
|
||||||
# get release ID
|
# get release ID
|
||||||
repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \
|
repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \
|
||||||
|| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|
| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
curl -H "Authorization: token ${token}" \
|
curl -H "Authorization: token ${token}" \
|
||||||
|
|
|
@ -249,7 +249,7 @@ eof
|
||||||
|
|
||||||
# get release ID
|
# get release ID
|
||||||
repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \
|
repoid=$(curl "https://api.github.com/repos/ungleich/cdist/releases/tags/${tag}" \
|
||||||
|| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|
| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
curl -H "Authorization: token ${token}" \
|
curl -H "Authorization: token ${token}" \
|
||||||
|
|
Loading…
Reference in a new issue