Skip to content

Commit

Permalink
chore: add version to echo + try hardcoded version
Browse files Browse the repository at this point in the history
  • Loading branch information
gdulafactset authored Jun 28, 2024
1 parent a5384d6 commit 90c9695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
count=0
max_retries=5
tag=${{ github.event.release.tag_name }}
version=${tag#v}
version=0.9.0
while [ $count -lt $max_retries ]; do
if pip install fds.sdk.utils==${version} --dry-run &>/dev/null; then
echo "Version ${version} of fds.sdk.utils is available on PyPI."
Expand All @@ -75,7 +75,7 @@ jobs:
conda build fds.sdk.utils --output
break
else
echo "Version not found, rechecking in $((2 ** count)) seconds..."
echo "Version ${version} not found, rechecking in $((2 ** count)) seconds..."
sleep $((2 ** count))
count=$((count + 1))
fi
Expand Down

0 comments on commit 90c9695

Please sign in to comment.