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:
parent
d73624e862
commit
62aef0b8ed
5 changed files with 6 additions and 6 deletions
4
.github/workflows/release_nightly.yml
vendored
4
.github/workflows/release_nightly.yml
vendored
|
|
@ -80,8 +80,8 @@ jobs:
|
|||
- name: Verify Nightly Name and Version
|
||||
id: verify
|
||||
run: |
|
||||
name=$(uv tree | grep 'langflow-base' | awk '{print $2}')
|
||||
version=$(uv tree | grep 'langflow-base' | awk '{print $3}')
|
||||
name=$(uv tree | grep 'langflow-base' | awk '{print $2}' | head -n 1)
|
||||
version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | head -n 1)
|
||||
if [ "$name" != "langflow-base-nightly" ]; then
|
||||
echo "Name $name does not match langflow-base-nightly. Exiting the workflow."
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue