Skip to content

Commit

Permalink
Fix version retrieval in pre-release-langflow.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielluiz committed Apr 8, 2024
1 parent b8a5b0c commit 99454a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-langflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Check Version
id: check-version
run: |
version=$(cd src/backend/base && poetry version --short)
version=$(cd poetry version --short)
last_released_version=$(curl -s "https://pypi.org/pypi/langflow/json" | jq -r '.releases | keys | .[]' | sort -V | tail -n 1)
if [ "$version" = "$last_released_version" ]; then
echo "Version $version is already released. Skipping release."
Expand Down

0 comments on commit 99454a3

Please sign in to comment.