We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7de0cc commit fbc102dCopy full SHA for fbc102d
releasing/check-release-helper.sh
@@ -7,6 +7,8 @@ declare rc=0
7
8
git log $(git describe --tags --abbrev=0)..HEAD --oneline | tee /tmp/release-changelogs.txt
9
10
+count=$(cat /tmp/release-changelogs.txt | wc -l)
11
+
12
if [[ $(cat /tmp/release-changelogs.txt | grep fix) || $(cat /tmp/release-changelogs.txt | grep patch) || $(cat /tmp/release-changelogs.txt | grep chore) ]]; then
13
PATCH=true
14
fi
@@ -30,7 +32,7 @@ fi
30
32
31
33
echo -e "\n"
34
echo -e "================================================================================="
-
35
+echo "Change counter: $(echo $count | tr -s ' ')"
36
if [[ $MAJOR == false && $MINOR == false ]]; then
37
echo "Recommended release type: patch"
38
elif [[ $MAJOR == false && $MINOR == true ]]; then
0 commit comments