From 29f3393712bd489b058921ae50b092d06fee4d81 Mon Sep 17 00:00:00 2001 From: Jose Javier Merchante Date: Tue, 27 Sep 2022 13:55:39 +0200 Subject: [PATCH] [release] Remove the quotes around regex This commit fixes a bug where bash doesn't detect a regular expression that includes quotes. Signed-off-by: Jose Javier Merchante --- .github/workflows/release-grimoirelab-component.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-grimoirelab-component.yml b/.github/workflows/release-grimoirelab-component.yml index 230e9378..0a90f97e 100644 --- a/.github/workflows/release-grimoirelab-component.yml +++ b/.github/workflows/release-grimoirelab-component.yml @@ -150,7 +150,7 @@ jobs: echo "Dependencies updated, force new version" version=$(semverup --bump-version patch $rcArg) echo "::set-output name=forced_version::true" - elif [ -z $version ] && [ ${{ inputs.release_candidate }} != 'true' ] && [[ "$old_version" =~ ".*rc.*" ]] + elif [ -z $version ] && [ ${{ inputs.release_candidate }} != 'true' ] && [[ "$old_version" =~ .*rc.* ]] then echo "Create final version from rc" version=$(semverup --bump-version patch)