Skip to content

Commit

Permalink
Moved leading line break in bumped_cnt echo to post-git pull echo…
Browse files Browse the repository at this point in the history
… for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 23, 2024
1 parent b16acf3 commit 85ae99a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ if (( $bumped_cnt == 0 )) ; then echo -e "${BW}Completed. No manifests bumped.${
# PULL latest changes
echo -e "${BY}Pulling latest changes from remote to sync local repository...${NC}\n"
git pull || (echo -e "${BR}Merge failed, please resolve conflicts!${NC}" && exit 1)
echo ''

# ADD/COMMIT/PUSH bump(s)
plural_suffix=$((( $bumped_cnt > 1 )) && echo "s")
echo -e "\n${BG}${bumped_cnt} manifest${plural_suffix} bumped!\n${NC}"
echo -e "${BG}${bumped_cnt} manifest${plural_suffix} bumped!\n${NC}"
echo -e "${BY}Committing bump${plural_suffix} to Git...\n${NC}"
COMMIT_MSG="Bumped \`version\`"
unique_versions=($(printf "%s\n" "${new_versions[@]}" | sort -u))
Expand Down

0 comments on commit 85ae99a

Please sign in to comment.