File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8686 patch=$(echo "$last_tag" | cut -d. -f3)
8787 has_feat=false
8888 has_breaking_change=false
89- git log --pretty=format:"%s" ${{ steps.previous_tag.outputs.previous_tag }}..${{ steps.version.outputs.new_version }} | \
90- while read line; do
89+ while IFS= read -r line; do
9190 case "$line" in
9291 *'feat:'*)
9392 echo "has_feat=true because of [$line]"
@@ -101,7 +100,7 @@ jobs:
101100 echo "not feat not breaking change, commit -> [$line]"
102101 ;;
103102 esac
104- done
103+ done < <(git log --pretty=format:"%s" "$commit_range")
105104 if [ "$has_breaking_change" = true ]; then
106105 major=$((major + 1))
107106 minor=0
@@ -116,6 +115,7 @@ jobs:
116115 echo "NEW VERSION SHOULD BE => $new_version"
117116 echo "::set-output name=new_version::$new_version"
118117
118+
119119
120120 - name : Create new tag
121121 id : new_tag
You can’t perform that action at this time.
0 commit comments