Skip to content

Commit 982fefc

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/bump.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ else new_ver="$TODAY" ; fi
5151
sed -i "s/\"version\": \"$old_ver\"/\"version\": \"$new_ver\"/" "$MANIFEST_PATH"
5252
echo -e "Updated: ${BW}v${old_ver}${NC}${BG}v${new_ver}${NC}\n"
5353
bumped_manifests+=("$platform_manifest_path/manifest.json")
54-
if (( ${#bumped_manifests[@]} == 0 )) ; then echo -e "${BW}Completed. No manifests bumped.${NC}" ; exit 0 ; fi
54+
if (( ${#bumped_manifests[@]} == 0 )) ; then echo -e "${BW}Completed. No manifests bumped.${NC}" ; exit 0
55+
else echo -e "${BG}${#bumped_manifests[@]} manifest${plural_suffix} bumped!\n${NC}" ; fi
5556

5657
# ADD/COMMIT/PUSH bump(s)
5758
if [[ "$no_commit" != true ]] ; then
5859
plural_suffix=$((( ${#bumped_manifests[@]} > 1 )) && echo "s")
59-
echo -e "${BG}${#bumped_manifests[@]} manifest${plural_suffix} bumped!\n${NC}"
6060
echo -e "${BY}Committing bump${plural_suffix} to Git...\n${NC}"
6161
COMMIT_MSG="Bumped \`version\`"
6262
unique_versions=($(printf "%s\n" "${new_versions[@]}" | sort -u))

0 commit comments

Comments
 (0)