From 7ff6b1ae3475f472c77d5446e110afbc3e28fe1d Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 31 Mar 2025 09:44:27 -0300 Subject: [PATCH] chore: fix small typo in grep command (#7353) * 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. * fix: correct version extraction command in nightly build workflow Removed an extraneous quote from the version extraction command in the nightly_build.yml workflow file to ensure proper execution and reliability in retrieving the langflow-base version. --- .github/workflows/nightly_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 10988e221..976bc26ac 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -99,7 +99,7 @@ jobs: working-directory: src/backend/base run: | # If the main tag already exists, we need to retrieve the base version from the main tag codebase. - version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | head -n 1') + version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | head -n 1) echo "base_tag=$version" >> $GITHUB_OUTPUT echo "base_tag=$version"