From 90c9695a48d7c3ed9e787ba7afdee597b4d10683 Mon Sep 17 00:00:00 2001 From: gdulafactset <156331405+gdulafactset@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:36:22 +0100 Subject: [PATCH] chore: add version to echo + try hardcoded version --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 985a9ab..0995535 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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." @@ -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