From a7de0cc8cd0aeae86c1d94cbe1f3cf757057fbd4 Mon Sep 17 00:00:00 2001 From: Kurnianto Trilaksono Date: Wed, 27 Mar 2024 00:11:53 +0800 Subject: [PATCH] edit printout --- releasing/check-release-helper.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/releasing/check-release-helper.sh b/releasing/check-release-helper.sh index 2ae9c7ca1..bcac82eec 100755 --- a/releasing/check-release-helper.sh +++ b/releasing/check-release-helper.sh @@ -7,7 +7,7 @@ declare rc=0 git log $(git describe --tags --abbrev=0)..HEAD --oneline | tee /tmp/release-changelogs.txt -if [[ $(cat /tmp/release-changelogs.txt | grep fix) || $(cat /tmp/release-changelogs.txt | grep patch) ]]; then +if [[ $(cat /tmp/release-changelogs.txt | grep fix) || $(cat /tmp/release-changelogs.txt | grep patch) || $(cat /tmp/release-changelogs.txt | grep chore) ]]; then PATCH=true fi @@ -32,9 +32,9 @@ echo -e "\n" echo -e "=================================================================================" if [[ $MAJOR == false && $MINOR == false ]]; then - echo "Release type: patch" + echo "Recommended release type: patch" elif [[ $MAJOR == false && $MINOR == true ]]; then - echo "Release type: minor" + echo "Recommended release type: minor" else - echo "Release type: major" + echo "Recommended release type: major" fi \ No newline at end of file