Skip to content

Commit

Permalink
fix test version
Browse files Browse the repository at this point in the history
  • Loading branch information
yanxi0830 committed Jan 15, 2025
1 parent 893276c commit 21f1dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# Function to check if version exists in a repository
check_version() {
local repo=$1
local status_code=$(curl -s -o /dev/null -w "%{http_code}" "https://$repo.org/pypi/llama-stack/${{ steps.version.outputs.version }}")
local status_code=$(curl -s -o /dev/null -w "%{http_code}" "https://$repo.org/project/llama-stack/${{ steps.version.outputs.version }}")
return $([ "$status_code" -eq 200 ])
}
Expand Down

0 comments on commit 21f1dff

Please sign in to comment.