Skip to content

Commit 305d5b8

Browse files
committed
fix(please): quoted interpolation when empty
1 parent 40e1e0d commit 305d5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

please

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ if [ "" == "$COMMITS" ]; then
232232
fi
233233

234234
# determine next version
235-
FEAT=`git log "${DIFF}" --oneline --pretty="%s" | grep -P '^feat' || echo ""`
235+
FEAT=`git log ${DIFF} --oneline --pretty="%s" | grep -P '^feat' || echo ""`
236236
if [[ $MAJOR -eq 1 ]]; then
237237
NEXT_VERSION=`echo $VERSION | (IFS=".$IFS"; read a b c && echo $((a + 1)).0.0)`
238238
elif [[ $MINOR -eq 1 ]]; then

0 commit comments

Comments
 (0)