Skip to content

Commit

Permalink
fix: use RANGE instead of DIFF
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Sep 27, 2019
1 parent 285bd5c commit 64cca54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion please
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ echo $COMMITS >> $TMP_LOG
# determine next version
info "Bumping version ..."
if [[ "" = "$NEXT_VERSION" ]]; then
FEAT=`git log ${DIFF} --oneline --pretty="%s" | grep -P '^feat' || echo ""`
FEAT=`git log ${RANGE} --oneline --pretty="%s" | grep -P '^feat' || echo ""`
if [[ $MAJOR -eq 1 ]]; then
V=""
if [[ $VERSION == v* ]]; then
Expand Down

0 comments on commit 64cca54

Please sign in to comment.