From 72b1cda7d18b00901964574fc82b226736b05f45 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 5 Jul 2023 10:34:11 +0200 Subject: [PATCH] Fix commands --- .github/workflows/budibase_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 2ebf9a93a3..f2e7f2eda9 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -184,10 +184,10 @@ jobs: cd packages/pro pro_commit=$(git rev-parse HEAD) - branch=${{ github.base_ref || github.ref_name }} + branch="${{ github.base_ref || github.ref_name }}" echo "Running on branch `$branch` (base_ref=${{ github.base_ref }}, ref_name=${{ github.head_ref }})" - if [[ "$branch" == "master" ]]; then + if [[ $branch == "master" ]]; then base_commit=$(git rev-parse origin/master) else base_commit=$(git rev-parse origin/develop)