File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ else new_ver="$TODAY" ; fi
5151sed -i " s/\" version\" : \" $old_ver \" /\" version\" : \" $new_ver \" /" " $MANIFEST_PATH "
5252echo -e " Updated: ${BW} v${old_ver}${NC} → ${BG} v${new_ver}${NC} \n"
5353bumped_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)
5758if [[ " $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) )
You can’t perform that action at this time.
0 commit comments