mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 00:39:35 +08:00
chore: Ensure consistent version extraction for langflow-base in workflows (#7352)
fix: ensure consistent version extraction for langflow-base in workflows Updated version extraction commands in multiple workflow files to consistently use 'head -n 1' for retrieving the first occurrence of the langflow-base version. This change improves reliability in version detection across docker-build, nightly_build, python_test, release_nightly, and release workflows.
This commit is contained in:
committed by
GitHub
parent
d73624e862
commit
62aef0b8ed
2
.github/workflows/python_test.yml
vendored
2
.github/workflows/python_test.yml
vendored
@ -104,7 +104,7 @@ jobs:
|
||||
# We need to print $3 because langflow-base is a dependency of langflow
|
||||
# For langlow we'd use print $2
|
||||
run: |
|
||||
version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//')
|
||||
version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//' | head -n 1)
|
||||
url="https://pypi.org/pypi/langflow-base/json"
|
||||
if [ ${{ inputs.nightly }} == true ]; then
|
||||
url="https://pypi.org/pypi/langflow-base-nightly/json"
|
||||
|
||||
Reference in New Issue
Block a user