Skip to content

Commit

Permalink
Shortened platform flag check before verifying commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Dec 19, 2024
1 parent a36b32f commit 637376b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion brave-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-auto-continue/utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-infinity/utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-widescreen/utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down
2 changes: 1 addition & 1 deletion phind-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down
2 changes: 1 addition & 1 deletion utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for project_name in "${SORTED_PROJECTS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down
2 changes: 1 addition & 1 deletion you.com-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do

# Check latest commit for extension changes if forcible platform flag not set
platform_manifest_path=$(dirname "$manifest_path" | sed 's|^\./||')
if [ "$chromium_only" != true ] && [ "$ff_only" != true ] ; then
if [[ ! "${chromium_only} ${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"
Expand Down

0 comments on commit 637376b

Please sign in to comment.