From 6c2eb693959cd7158cdeff763e99cda6bae97d7d Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 10 Oct 2023 11:58:30 +0100 Subject: [PATCH] Correcting syntax. --- .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 77b864b8ea..c9de51957b 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -270,7 +270,7 @@ jobs: if [[ $branch == "master" ]]; then base_commit=$(git rev-parse origin/master) - else if [[ $branch == "develop" ]]; then + elif [[ $branch == "develop" ]]; then base_commit=$(git rev-parse origin/develop) fi @@ -295,7 +295,7 @@ jobs: const baseCommit = '${{ steps.get_pro_commits.outputs.base_commit }}'; if (submoduleCommit !== baseCommit) { - console.error('Submodule commit does not match the latest commit on the "${{ steps.get_pro_commits.outputs.target_branch }}"" branch.'); + console.error('Submodule commit does not match the latest commit on the "${{ steps.get_pro_commits.outputs.target_branch }}" branch.'); console.error('Refer to the pro repo to merge your changes: https://github.com/Budibase/budibase-pro/blob/develop/docs/getting_started.md') process.exit(1); } else {