Skip to content

Commit 424e01e

Browse files
committed
Uppercased key words in section comments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
1 parent b7a303c commit 424e01e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/bump.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ echo -e "${BY}\nBumping version in ${MANIFEST_PATH}...${NC}\n"
2020
bumped_cnt=0
2121
TODAY=$(date +'%Y.%-m.%-d') # YYYY.M.D format
2222

23-
# Check latest commit for extension changes
23+
# Check LATEST COMMIT for extension changes
2424
chromium_manifest_path=$(dirname "$MANIFEST_PATH" | sed 's|^\./||')
2525
echo "Checking last commit details for $chromium_manifest_path..."
2626
latest_platform_commit_msg=$(git log -1 --format=%s -- "$chromium_manifest_path")
@@ -29,7 +29,7 @@ if [[ $latest_platform_commit_msg == bump*(version|manifest)* ]] ; then
2929

3030
echo "Bumping version in Chromium manifest..."
3131

32-
# Determine old/new versions
32+
# Determine OLD/NEW versions
3333
old_ver=$(sed -n 's/.*"version": *"\([0-9.]*\)".*/\1/p' "$MANIFEST_PATH")
3434
if [[ $old_ver == "$TODAY" ]] ; then
3535
new_ver="$TODAY.1"
@@ -38,12 +38,12 @@ elif [[ $old_ver == "$TODAY."* ]] ; then
3838
new_ver="$TODAY.$((LAST_NUMBER + 1))"
3939
else new_ver="$TODAY" ; fi
4040

41-
# Bump old version
41+
# BUMP old version
4242
sed -i "s/\"version\": \"$old_ver\"/\"version\": \"$new_ver\"/" "$MANIFEST_PATH"
4343
echo -e "Updated: ${BW}v${old_ver}${NC}${BG}v${new_ver}${NC}\n"
4444
((bumped_cnt++))
4545

46-
# COMMIT/PUSH bump(s)
46+
# COMMIT/PUSH bump
4747
if (( $bumped_cnt == 0 )) ; then echo -e "${BW}Completed. No manifests bumped.${NC}"
4848
else
4949
echo -e "${BY}Committing bump to Git...${NC}"

0 commit comments

Comments
 (0)