Skip to content

Commit

Permalink
[release] Remove the quotes around regex
Browse files Browse the repository at this point in the history
This commit fixes a bug where bash doesn't detect
a regular expression that includes quotes.

Signed-off-by: Jose Javier Merchante <[email protected]>
  • Loading branch information
jjmerchante committed Sep 27, 2022
1 parent 9834b95 commit 29f3393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-grimoirelab-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29f3393

Please sign in to comment.