From 65641d6e2f43a96161cbbad93ee155452e4add1a Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Wed, 12 Feb 2025 17:43:02 +0530 Subject: [PATCH] ci: fix the BASE env input (#372) Signed-off-by: Abhinandan Purkait --- .github/workflows/branch_preparation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/branch_preparation.yml b/.github/workflows/branch_preparation.yml index 10a59ff2..aef2e2f8 100644 --- a/.github/workflows/branch_preparation.yml +++ b/.github/workflows/branch_preparation.yml @@ -26,7 +26,7 @@ jobs: - name: Modify the chart version based on the tag run: | tag=${{ github.ref_name }} - echo "BASE=$(nix-shell --pure --run "./scripts/update-chart-version.sh --tag $tag" ./shell.nix)" >> $GITHUB_ENV + echo "BASE=$(nix-shell --pure --run "./scripts/update-chart-version.sh --tag $tag" ./shell.nix | tail -n 1)" >> $GITHUB_ENV - name: Create Pull Request to release if: ${{ env.BASE }} id: cpr