We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e237b9e commit 3001a21Copy full SHA for 3001a21
playbooks/build.yml
@@ -41,7 +41,7 @@
41
local attempt_num=1
42
43
while true; do
44
- AVAILABLE_VERSION=$(curl -s https://pypi.org/pypi/osism/json | jq -r ".releases | keys[]" | grep "^${version}$")
+ AVAILABLE_VERSION=$(curl -s https://pypi.org/pypi/osism/json | jq -r ".releases | keys[]" | grep "^${version}$" || exit 0)
45
if [[ "$AVAILABLE_VERSION" == "$version" ]]; then
46
break
47
else
@@ -55,7 +55,7 @@
55
}
56
57
if [[ $version != "latest" ]]; then
58
- wait_for_pypi_version 20 $version
+ wait_for_pypi_version 20 "${version:1}"
59
fi
60
61
docker buildx build \
0 commit comments