diff --git a/.github/workflows/release_prod.yml b/.github/workflows/release_prod.yml index f3970a9..f3717c4 100644 --- a/.github/workflows/release_prod.yml +++ b/.github/workflows/release_prod.yml @@ -73,7 +73,7 @@ jobs: VERSION="${{ steps.meta.outputs.version }}" echo "Waiting for reqstool==${VERSION} to become available on PyPI..." for i in $(seq 1 90); do - if pip install --dry-run --no-cache-dir "reqstool==${VERSION}" &>/dev/null; then + if curl -fsSL -o /dev/null "https://pypi.org/pypi/reqstool/${VERSION}/json"; then echo "reqstool==${VERSION} is available on PyPI" exit 0 fi