Skip to content

Commit 521978b

Browse files
committed
Moved git success echo into git routine ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/perplexity-omnibox]
1 parent 982fefc commit 521978b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/bump.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ if [[ "$no_commit" != true ]] ; then
6868
echo -e "${BY}Pushing bump${plural_suffix} to Git...\n${NC}"
6969
git push
7070
fi
71+
git_action="updated"$( [[ "$no_commit" != true ]] && echo -n "/committed" )$(
72+
[[ "$no_push" != true ]] && echo -n "/pushed" )
73+
echo -e "\n${BG}Success! ${#bumped_manifests[@]} manifest${plural_suffix} ${git_action} to GitHub${NC}"
7174
fi
7275

7376
# Final SUMMARY log
74-
git_action="updated"$( [[ "$no_commit" != true ]] && echo -n "/committed" )$(
75-
[[ "$no_push" != true ]] && echo -n "/pushed" )
76-
echo -e "\n${BG}Success! ${#bumped_manifests[@]} manifest${plural_suffix} ${git_action} to GitHub${NC}"
7777
for manifest in "${bumped_manifests[@]}" ; do echo -e " ± $manifest" ; done # log manifests bumped

0 commit comments

Comments
 (0)