diff --git a/.github/semver.sh b/.github/semver.sh index 49a60be..90d429c 100755 --- a/.github/semver.sh +++ b/.github/semver.sh @@ -11,7 +11,7 @@ while IFS= read -r line; do BUMP=3 VERSION="major" fi - elif [[ $line == feat:* || $line == feat\(*\):* ]]; then + elif [[ $line == *feat:* || $line == *feat\(*\):* ]]; then if [[ $BUMP -lt 2 ]]; then BUMP=2 VERSION="minor"