From aab414be4ffedf49238cd14d3ec3f6be05cbf93e Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 22 Feb 2024 11:26:01 -0800 Subject: [PATCH] fix conditional --- .github/workflows/release_prep_hatch.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_prep_hatch.yml b/.github/workflows/release_prep_hatch.yml index e5cb6495..45824476 100644 --- a/.github/workflows/release_prep_hatch.yml +++ b/.github/workflows/release_prep_hatch.yml @@ -452,6 +452,7 @@ jobs: title="Changelog and Version Bump Branch Merge" message="The ${{ needs.create-temp-branch.outputs.branch_name }} branch was merged into mains" echo "::notice title=${{ env.NOTIFICATION_PREFIX }}: $title::$message" + determine-release-branch: runs-on: ubuntu-latest needs: @@ -480,7 +481,7 @@ jobs: id: resolve_branch run: | branch="" - if [[ ${{ inputs.deploy_to == 'test' }} or ${{ inputs.nightly_release == 'true' }}]] + if [ ${{ inputs.deploy_to == 'test' }}] || [ ${{ inputs.nightly_release == 'true' }} ] then branch=${{ needs.create-temp-branch.outputs.branch_name }} else