diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 209aa5c..dac61a7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -63,7 +63,7 @@ jobs: echo "Package version ${PACKAGE_VERSION} is not yet available on PyPI." echo "Retrying in $SLEEP_SECONDS seconds." sleep $SLEEP_SECONDS - ((ATTEMPT_COUNT++)) + let ATTEMPT_COUNT=ATTEMPT_COUNT+1 fi done if [ $ATTEMPT_COUNT -eq $MAX_ATTEMPTS ]; then