From eab8dd1f350af7a218a39d5afa9236a4ff17093a Mon Sep 17 00:00:00 2001 From: Stephen Riggs <122790971+stephen-riggs@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:25:46 +0100 Subject: [PATCH] Client bump if statement fixes (#355) --- .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 b6365d50..5ed8c7b7 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