Skip to content

Commit

Permalink
Prepended 'Updated:' to success echo of single manifest bumps ↞ [auto…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Dec 9, 2024
1 parent 8328147 commit 05f5ab0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ for manifest in "${MANIFEST_PATHS[@]}" ; do

# Bump old version
sed -i "s/\"version\": \"$old_ver\"/\"version\": \"$new_ver\"/" "$manifest"
bumped_msg="${BW}v${old_ver}${NC}${BG}v${new_ver}${NC}"
if [[ ${#MANIFEST_PATHS[@]} -gt 1 ]] ; then bumped_msg="${manifest}: ${bumped_msg}" ; fi
ver_change_msg="${BW}v${old_ver}${NC}${BG}v${new_ver}${NC}"
if [[ ${#MANIFEST_PATHS[@]} -gt 1 ]] ; then bumped_msg="${manifest}: ${ver_change_msg}"
else bumped_msg="Updated: ${ver_change_msg}" ; fi
echo -e "$bumped_msg" ; ((bumped_cnt++))
done

Expand Down

0 comments on commit 05f5ab0

Please sign in to comment.