mirror of
https://github.com/digital-asset/daml.git
synced 2024-10-26 13:17:54 +03:00
fix escaping in Docker existence check (#1830)
This commit is contained in:
parent
63bdec41e0
commit
62afc96ffd
@ -135,7 +135,7 @@ jobs:
|
||||
DIR=$(pwd)
|
||||
VERSIONS=$(curl 'https://hub.docker.com/v2/repositories/digitalasset/daml-sdk/tags/?page_size=10000' -s)
|
||||
for version in $(echo $RELEASES | sed -e 's/ /\n/g'); do
|
||||
EXISTS=$(echo $VERSIONS | jq -r '[.results[].name == "${version#v}"] | any')
|
||||
EXISTS=$(echo $VERSIONS | jq -r '[.results[].name == "'${version#v}'"] | any')
|
||||
if [ "$EXISTS" == "true" ]; then
|
||||
echo "${version#v} already exists, skipping."
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user