From a558ca8f875a5c342fe63859ca659fed2d211e0e Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Thu, 19 Dec 2024 09:33:00 -0800 Subject: [PATCH] Revised commit msg analysis to accomodate if `version` encountered formatting issues --- brave-omnibox/utils/bump.sh | 2 +- chatgpt-auto-continue/utils/bump/extension-manifests.sh | 2 +- chatgpt-infinity/utils/bump/extension-manifests.sh | 2 +- chatgpt-widescreen/utils/bump/extension-manifests.sh | 2 +- perplexity-omnibox/utils/bump.sh | 2 +- phind-omnibox/utils/bump.sh | 2 +- utils/bump/extension-manifests.sh | 2 +- you.com-omnibox/utils/bump.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/brave-omnibox/utils/bump.sh b/brave-omnibox/utils/bump.sh index 5c8b8f2a3..6d8053f6f 100644 --- a/brave-omnibox/utils/bump.sh +++ b/brave-omnibox/utils/bump.sh @@ -40,7 +40,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") - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi diff --git a/chatgpt-auto-continue/utils/bump/extension-manifests.sh b/chatgpt-auto-continue/utils/bump/extension-manifests.sh index 5c8b8f2a3..6d8053f6f 100644 --- a/chatgpt-auto-continue/utils/bump/extension-manifests.sh +++ b/chatgpt-auto-continue/utils/bump/extension-manifests.sh @@ -40,7 +40,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") - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi diff --git a/chatgpt-infinity/utils/bump/extension-manifests.sh b/chatgpt-infinity/utils/bump/extension-manifests.sh index 1c18612af..8650659fa 100644 --- a/chatgpt-infinity/utils/bump/extension-manifests.sh +++ b/chatgpt-infinity/utils/bump/extension-manifests.sh @@ -40,7 +40,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") - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi diff --git a/chatgpt-widescreen/utils/bump/extension-manifests.sh b/chatgpt-widescreen/utils/bump/extension-manifests.sh index 1c18612af..8650659fa 100644 --- a/chatgpt-widescreen/utils/bump/extension-manifests.sh +++ b/chatgpt-widescreen/utils/bump/extension-manifests.sh @@ -40,7 +40,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") - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi diff --git a/perplexity-omnibox/utils/bump.sh b/perplexity-omnibox/utils/bump.sh index 59580f527..d21fe7358 100644 --- a/perplexity-omnibox/utils/bump.sh +++ b/perplexity-omnibox/utils/bump.sh @@ -24,7 +24,7 @@ TODAY=$(date +'%Y.%-m.%-d') # YYYY.M.D format chromium_manifest_path=$(dirname "$MANIFEST_PATH" | sed 's|^\./||') echo "Checking last commit details for $chromium_manifest_path..." latest_platform_commit_msg=$(git log -1 --format=%s -- "$chromium_manifest_path") -if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then +if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found." ; exit ; fi echo "Bumping version in Chromium manifest..." diff --git a/phind-omnibox/utils/bump.sh b/phind-omnibox/utils/bump.sh index e727fca89..d2e6b5aae 100644 --- a/phind-omnibox/utils/bump.sh +++ b/phind-omnibox/utils/bump.sh @@ -40,7 +40,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") - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi diff --git a/utils/bump/extension-manifests.sh b/utils/bump/extension-manifests.sh index 0e93f9754..b23543012 100644 --- a/utils/bump/extension-manifests.sh +++ b/utils/bump/extension-manifests.sh @@ -54,7 +54,7 @@ for project_name in "${SORTED_PROJECTS[@]}" ; do echo "Checking last commit details for $platform_manifest_path..." latest_platform_commit_msg=$(git log -1 --format=%s -- "$platform_manifest_path") echo $latest_platform_commit_msg - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi diff --git a/you.com-omnibox/utils/bump.sh b/you.com-omnibox/utils/bump.sh index 5c8b8f2a3..6d8053f6f 100644 --- a/you.com-omnibox/utils/bump.sh +++ b/you.com-omnibox/utils/bump.sh @@ -40,7 +40,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") - if [[ $latest_platform_commit_msg =~ bump.*(version|manifest) ]] ; then + if [[ $latest_platform_commit_msg =~ bump.*(ersion|manifest) ]] ; then echo -e "No changes found. Skipping...\n" ; continue ; fi fi