From f38931ec436169fe11c91a33fc02b7cc3046aa47 Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Thu, 19 Dec 2024 09:44:48 -0800 Subject: [PATCH] =?UTF-8?q?Added=20commit=20msg=20echo=20=E2=86=9E=20[auto?= =?UTF-8?q?-sync=20from=20https://github.com/adamlui/ai-web-extensions]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/bump.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/utils/bump.sh b/utils/bump.sh index 6d8053f..bbd8884 100644 --- a/utils/bump.sh +++ b/utils/bump.sh @@ -7,11 +7,12 @@ shopt -s nocasematch # enable case-insensitive matching (to flexibly check commit msg for bumps) # Init UI COLORS -NC="\033[0m" # no color -BR="\033[1;91m" # bright red -BY="\033[1;33m" # bright yellow -BG="\033[1;92m" # bright green -BW="\033[1;97m" # bright white +NC="\033[0m" # no color +DG="\033[38;5;243m" # dim gray +BR="\033[1;91m" # bright red +BY="\033[1;33m" # bright yellow +BG="\033[1;92m" # bright green +BW="\033[1;97m" # bright white # Parse ARGS if [[ "$1" == *chrom* ]] ; then chromium_only=true @@ -40,6 +41,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then echo "Checking last commit details for $platform_manifest_path..." latest_platform_commit_msg=$(git log -1 --format=%s -- "$platform_manifest_path") + echo -e "${DG}${latest_platform_commit_msg}${NC}\n" if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi