From 80cfb13b5b632ccbd6ab125bb0a1dae762aebc07 Mon Sep 17 00:00:00 2001 From: yxd92326 Date: Tue, 1 Oct 2024 13:24:29 +0100 Subject: [PATCH] Client bump if statement fixes --- .github/workflows/version-bump.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index b6365d505..5ed8c7b7b 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -56,11 +56,11 @@ jobs: echo "##[section]Creating commit on branch 'version-bump'" git checkout -b version-bump - if [ ${{ inputs.bumpClient }} == true && ${{ inputs.newClientVersion }} != "0.0.0" ]; then + if [[ ${{ inputs.bumpClient }} == true && ${{ inputs.newClientVersion }} != "0.0.0" ]]; then bump-my-version bump --config-file .bumpclient.toml --new-version ${{ inputs.newClientVersion }} fi - if [ ${{ inputs.bumpLevel }} != "client" ] + if [ ${{ inputs.bumpLevel }} != "client" ]; then bump-my-version bump ${{ inputs.bumpLevel }} fi